]> git.saurik.com Git - wxWidgets.git/commitdiff
made wxApp::GetTopWindow() virtual
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Feb 2001 13:39:50 +0000 (13:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 20 Feb 2001 13:39:50 +0000 (13:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/app.tex
include/wx/app.h

index 2add770cd45434a3859db9b80cde948e8e0553e4..ec2ac10d7f32ae5ae0366f126ea01608db864801 100644 (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.
 
index 6f4ddd32653b08a5480051975792e458a71ac86c..d1825f18a6afd0c8e44c722c782cddd15ec633da 100644 (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;