]> git.saurik.com Git - wxWidgets.git/commitdiff
wxRootWindow::AcceptsFocus must be const; added wxRTTI for wxRootWindow
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Feb 2002 20:22:38 +0000 (20:22 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 1 Feb 2002 20:22:38 +0000 (20:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/app.cpp

index c6fab2dc9b95f13e96d786d88e8c2aa7c438a4e9..da9471e4dcc6eafd88b0a6c4bf53e1176eead23c 100644 (file)
@@ -142,9 +142,13 @@ class wxRootWindow : public wxWindow
             m_wnd = NULL; 
         }
 
-        virtual bool AcceptsFocus() { return FALSE; }
+        virtual bool AcceptsFocus() const { return FALSE; }
+        
+        DECLARE_DYNAMIC_CLASS(wxRootWindow)
 };
 
+IMPLEMENT_DYNAMIC_CLASS(wxRootWindow, wxWindow)
+
 static wxRootWindow *gs_rootWindow = NULL;
 
 //-----------------------------------------------------------------------------