fixing focus handling for generic controls in carbon-cfm

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-09-26 04:55:02 +00:00
parent d1f024a8de
commit ff23892253

View File

@ -599,7 +599,10 @@ void wxWindowMac::MacControlUserPaneActivateProc(bool activating)
wxInt16 wxWindowMac::MacControlUserPaneFocusProc(wxInt16 action)
{
return kControlNoPart ;
if ( AcceptsFocus() )
return 1 ;
else
return kControlNoPart ;
}
void wxWindowMac::MacControlUserPaneBackgroundProc(void* info)