made wxApp::GetTopWindow() virtual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-02-20 13:39:50 +00:00
parent 205c03894b
commit 83a5b533e2
2 changed files with 2 additions and 2 deletions

View File

@ -134,7 +134,7 @@ otherwise.
\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow}
\constfunc{wxWindow *}{GetTopWindow}{\void}
\constfunc{virtual wxWindow *}{GetTopWindow}{\void}
Returns a pointer to the top window.

View File

@ -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;