]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/app.cpp
Digital Mars fixes
[wxWidgets.git] / src / mgl / app.cpp
index 247d9558de569f09061bb0c55588ac2d04d1522f..53c61fad168072b3ccb2a0abf70686aa7a39051d 100644 (file)
@@ -124,7 +124,7 @@ class wxRootWindow : public wxWindow
             SetMGLwindow_t(MGL_wmGetRootWindow(g_winMng));
             SetBackgroundColour(wxTHEME_COLOUR(DESKTOP));
         }
             SetMGLwindow_t(MGL_wmGetRootWindow(g_winMng));
             SetBackgroundColour(wxTHEME_COLOUR(DESKTOP));
         }
-        ~wxRootWindow()
+        virtual ~wxRootWindow()
         {
             // we don't want to delete MGL_WM's rootWnd
             m_wnd = NULL;
         {
             // we don't want to delete MGL_WM's rootWnd
             m_wnd = NULL;