added wxGetTopLevelParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user