X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/343e418c210f1bf12fd79d6f33a213651b59a757..e41dcea547771f0ba97604565731804e5061bf18:/src/mgl/app.cpp diff --git a/src/mgl/app.cpp b/src/mgl/app.cpp index c6fab2dc9b..da9471e4dc 100644 --- a/src/mgl/app.cpp +++ b/src/mgl/app.cpp @@ -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; //-----------------------------------------------------------------------------