Change wxGetTopLevelParent() to take wxWindowBase
This makes it more convenient to use when building wxUniv, when wxWindow$TOOLKIT objects are wxWindowBase but not actually wxWindow. No real changes.
This commit is contained in:
@@ -2073,7 +2073,7 @@ extern WXDLLIMPEXP_CORE wxPoint wxGetMousePosition();
|
||||
extern WXDLLIMPEXP_CORE wxWindow *wxGetActiveWindow();
|
||||
|
||||
// get the (first) top level parent window
|
||||
WXDLLIMPEXP_CORE wxWindow* wxGetTopLevelParent(wxWindow *win);
|
||||
WXDLLIMPEXP_CORE wxWindow* wxGetTopLevelParent(wxWindowBase *win);
|
||||
|
||||
#if wxUSE_ACCESSIBILITY
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user