X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..0ea48a1f23b2c9763778f60405f051cac8bf781b:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index 6f4ddd3265..d1825f18a6 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -171,7 +171,7 @@ public: // return the "main" top level window (if it hadn't been set previously // with SetTopWindow(), will return just some top level window and, if // there are none, will return NULL) - wxWindow *GetTopWindow() const + virtual wxWindow *GetTopWindow() const { if (m_topWindow) return m_topWindow;