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:
@@ -599,7 +599,10 @@ void wxWindowMac::MacControlUserPaneActivateProc(bool activating)
|
|||||||
|
|
||||||
wxInt16 wxWindowMac::MacControlUserPaneFocusProc(wxInt16 action)
|
wxInt16 wxWindowMac::MacControlUserPaneFocusProc(wxInt16 action)
|
||||||
{
|
{
|
||||||
return kControlNoPart ;
|
if ( AcceptsFocus() )
|
||||||
|
return 1 ;
|
||||||
|
else
|
||||||
|
return kControlNoPart ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindowMac::MacControlUserPaneBackgroundProc(void* info)
|
void wxWindowMac::MacControlUserPaneBackgroundProc(void* info)
|
||||||
|
Reference in New Issue
Block a user