X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d0b57acec6b28eb5246ef467dfde2432a016e09..03773e400b6ff2692f2a9ba045d652c3b7b7109d:/include/wx/gtk/toplevel.h?ds=sidebyside diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index e059880ab3..013e081df6 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -52,6 +52,7 @@ public: virtual bool EnableCloseButton(bool enable = true); + virtual void ShowWithoutActivating(); virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL); virtual bool IsFullScreen() const { return m_fsIsShowing; }; @@ -79,6 +80,10 @@ public: virtual void RemoveGrab(); virtual bool IsGrabbed() const { return m_grabbed; } + + virtual void Refresh( bool eraseBackground = true, + const wxRect *rect = (const wxRect *) NULL ); + // implementation from now on // -------------------------- @@ -90,8 +95,6 @@ public: GtkWidget *m_mainWidget; - bool m_deferShow; - bool m_fsIsShowing; /* full screen */ int m_fsSaveGdkFunc, m_fsSaveGdkDecor; wxRect m_fsSaveFrame; @@ -138,6 +141,8 @@ protected: // string shown in the title bar wxString m_title; + bool m_deferShow; + private: wxSize& GetCachedDecorSize(); @@ -146,6 +151,9 @@ private: // is the frame currently grabbed explicitly by the application? bool m_grabbed; + + bool m_updateDecorSize; + bool m_deferShowAllowed; }; #endif // _WX_GTK_TOPLEVEL_H_