X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/290cd3016c18b5d56995d971b14f8d91d78ea22e..82bbd8907b6a5f4e476f8d9075afb6bef203a165:/include/wx/gtk/toplevel.h diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index 9b1965b1b2..f6f1b7c540 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -16,6 +16,7 @@ class WXDLLIMPEXP_CORE wxTopLevelWindowGTK : public wxTopLevelWindowBase { + DECLARE_EVENT_TABLE() public: // construction wxTopLevelWindowGTK() { Init(); } @@ -83,14 +84,14 @@ public: // -------------------------- // GTK callbacks - virtual void GtkOnSize(); 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); - int m_miniEdge, - m_miniTitle; GtkWidget *m_mainWidget; bool m_fsIsShowing; /* full screen */ @@ -101,8 +102,6 @@ public: int m_gdkFunc, m_gdkDecor; - bool m_sizeSet; - // 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; @@ -116,8 +115,6 @@ public: // return the size of the window without WM decorations void GTKDoGetSize(int *width, int *height) const; - void GtkUpdateSize() { m_sizeSet = false; } - // whether frame extents are accurate virtual bool IsDecorCacheable() const; @@ -139,6 +136,7 @@ protected: // string shown in the title bar wxString m_title; +private: // is the frame currently iconized? bool m_isIconized;