]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
fixed initial focus handling in the dialog and made SetFocus() send the focus
[wxWidgets.git] / include / wx / window.h
index 25cb7ad47bbb36393244f8768c9a4bbd5081c66f..86a38edd76de32e6bf565e9f4372f4d2d48a39d1 100644 (file)
@@ -1114,10 +1114,12 @@ WXDLLEXPORT extern wxPoint wxGetMousePosition();
 // get the currently active window of this application or NULL
 WXDLLEXPORT extern wxWindow *wxGetActiveWindow();
 
+// get the (first) top level parent window
+WXDLLEXPORT wxWindow* wxGetTopLevelParent(wxWindow *win);
+
 // deprecated (doesn't start with 'wx' prefix), use wxWindow::NewControlId()
 inline int NewControlId() { return wxWindowBase::NewControlId(); }
 
 #endif
     // _WX_WINDOW_H_BASE_
 
-// vi:sts=4:sw=4:et