focus handling streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,6 +79,14 @@
|
||||
#define wxMAC_DEBUG_REDRAW 0
|
||||
#endif
|
||||
|
||||
// Get the window with the focus
|
||||
WXWidget wxWidgetImpl::FindFocus()
|
||||
{
|
||||
ControlRef control = NULL ;
|
||||
GetKeyboardFocus( GetUserFocusWindow() , &control ) ;
|
||||
return control;
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Carbon Events
|
||||
// ---------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user