X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e256b53a3d9f7ced77836808ffe342205c585bcc..2126732187091fcdb61329b9ba2821627469f44a:/include/wx/mgl/window.h diff --git a/include/wx/mgl/window.h b/include/wx/mgl/window.h index 4c3091bd4f..e47e113bfc 100644 --- a/include/wx/mgl/window.h +++ b/include/wx/mgl/window.h @@ -23,7 +23,7 @@ class MGLDevCtx; // wxWindow declaration for MGL // --------------------------------------------------------------------------- -class WXDLLEXPORT wxWindowMGL : public wxWindowBase +class WXDLLIMPEXP_CORE wxWindowMGL : public wxWindowBase { public: wxWindowMGL() { Init(); } @@ -68,8 +68,6 @@ public: virtual void Refresh(bool eraseBackground = true, const wxRect *rect = (const wxRect *) NULL); virtual void Update(); - virtual void Freeze(); - virtual void Thaw(); virtual bool SetCursor(const wxCursor &cursor); virtual bool SetFont(const wxFont &font) { m_font = font; return true; } @@ -100,11 +98,14 @@ public: void OnInternalIdle(); protected: + virtual void DoFreeze(); + virtual void DoThaw(); + + // the window handle struct window_t *m_wnd; // whether there should be wxEraseEvent before wxPaintEvent or not // (see wxWindow::Refresh) - bool m_frozen:1; bool m_refreshAfterThaw:1; int m_eraseBackground;