]> git.saurik.com Git - wxWidgets.git/commitdiff
implement wxGetActiveWindow() which is now used by wx itself (closes #10809)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 May 2009 18:14:40 +0000 (18:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 May 2009 18:14:40 +0000 (18:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/dfb/window.cpp

index 855c6c006e45d8ad92a50230e31ba68d9c2361e5..2456eac046af1250bb8325da199e00ed5d32b402 100644 (file)
@@ -72,6 +72,15 @@ IMPLEMENT_ABSTRACT_CLASS(wxWindowDFB, wxWindowBase)
 BEGIN_EVENT_TABLE(wxWindowDFB, wxWindowBase)
 END_EVENT_TABLE()
 
 BEGIN_EVENT_TABLE(wxWindowDFB, wxWindowBase)
 END_EVENT_TABLE()
 
+//-----------------------------------------------------------------------------
+// global functions
+//-----------------------------------------------------------------------------
+
+wxWindow *wxGetActiveWindow()
+{
+    return wxWindow::FindFocus();
+}
+
 // ----------------------------------------------------------------------------
 // constructors and such
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // constructors and such
 // ----------------------------------------------------------------------------