X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/593354ca47abaae8a434f99642acc57f7834f77b..f57258724a56bca5c473737fbe19e2fc60ce7bd3:/include/wx/gtk/toplevel.h diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 2fa607c415..e059880ab3 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -16,7 +16,6 @@ class WXDLLIMPEXP_CORE wxTopLevelWindowGTK : public wxTopLevelWindowBase { - DECLARE_EVENT_TABLE() public: // construction wxTopLevelWindowGTK() { Init(); } @@ -86,9 +85,6 @@ public: // GTK callbacks virtual void OnInternalIdle(); - // Respond to system colour change - void OnSysColourChanged(wxSysColourChangedEvent& event); - // do *not* call this to iconize the frame, this is a private function! void SetIconizeState(bool iconic); @@ -107,6 +103,9 @@ public: // size of WM decorations wxSize m_decorSize; + // shape of the frame + wxRegion m_shape; + // private gtk_timeout_add result for mimicing wxUSER_ATTENTION_INFO and // wxUSER_ATTENTION_ERROR difference, -2 for no hint, -1 for ERROR hint, rest for GtkTimeout handle. int m_urgency_hint; @@ -140,6 +139,8 @@ protected: wxString m_title; private: + wxSize& GetCachedDecorSize(); + // is the frame currently iconized? bool m_isIconized;