]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/window.cpp
don't add client area origin when positioning the child MDI frame
[wxWidgets.git] / 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()
 
+//-----------------------------------------------------------------------------
+// global functions
+//-----------------------------------------------------------------------------
+
+wxWindow *wxGetActiveWindow()
+{
+    return wxWindow::FindFocus();
+}
+
 // ----------------------------------------------------------------------------
 // constructors and such
 // ----------------------------------------------------------------------------