wxRootWindow::AcceptsFocus must be const; added wxRTTI for wxRootWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-02-01 20:22:38 +00:00
parent ca50a0771a
commit b7d5acd0fa

View File

@@ -142,9 +142,13 @@ class wxRootWindow : public wxWindow
m_wnd = NULL; 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; static wxRootWindow *gs_rootWindow = NULL;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------