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:
@@ -134,7 +134,7 @@ otherwise.
|
|||||||
|
|
||||||
\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow}
|
\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow}
|
||||||
|
|
||||||
\constfunc{wxWindow *}{GetTopWindow}{\void}
|
\constfunc{virtual wxWindow *}{GetTopWindow}{\void}
|
||||||
|
|
||||||
Returns a pointer to the top window.
|
Returns a pointer to the top window.
|
||||||
|
|
||||||
|
@@ -171,7 +171,7 @@ public:
|
|||||||
// return the "main" top level window (if it hadn't been set previously
|
// return the "main" top level window (if it hadn't been set previously
|
||||||
// with SetTopWindow(), will return just some top level window and, if
|
// with SetTopWindow(), will return just some top level window and, if
|
||||||
// there are none, will return NULL)
|
// there are none, will return NULL)
|
||||||
wxWindow *GetTopWindow() const
|
virtual wxWindow *GetTopWindow() const
|
||||||
{
|
{
|
||||||
if (m_topWindow)
|
if (m_topWindow)
|
||||||
return m_topWindow;
|
return m_topWindow;
|
||||||
|
Reference in New Issue
Block a user