]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/window.cpp
hiding the impl type more again
[wxWidgets.git] / src / osx / carbon / window.cpp
index e4ff772b8f15d43f681460227fda7d0e7ecfa011..b1293cfa17480cd14e096ca066c354b2d7d7ec0f 100644 (file)
 #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
 // ---------------------------------------------------------------------------