From: Vadim Zeitlin Date: Fri, 22 May 2009 18:14:40 +0000 (+0000) Subject: implement wxGetActiveWindow() which is now used by wx itself (closes #10809) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f724f440fdb878c6d701103e01838c9d297a33d9 implement wxGetActiveWindow() which is now used by wx itself (closes #10809) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/dfb/window.cpp b/src/dfb/window.cpp index 855c6c006e..2456eac046 100644 --- a/src/dfb/window.cpp +++ b/src/dfb/window.cpp @@ -72,6 +72,15 @@ IMPLEMENT_ABSTRACT_CLASS(wxWindowDFB, wxWindowBase) BEGIN_EVENT_TABLE(wxWindowDFB, wxWindowBase) END_EVENT_TABLE() +//----------------------------------------------------------------------------- +// global functions +//----------------------------------------------------------------------------- + +wxWindow *wxGetActiveWindow() +{ + return wxWindow::FindFocus(); +} + // ---------------------------------------------------------------------------- // constructors and such // ----------------------------------------------------------------------------