X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/013151c7443afaf751ba2aa76e867bcbfa492508..6fe8830e92ebc79d17b357f487ba671183bc8167:/include/wx/gtk/toplevel.h diff --git a/include/wx/gtk/toplevel.h b/include/wx/gtk/toplevel.h index f6f1b7c540..3d64548573 100644 --- a/include/wx/gtk/toplevel.h +++ b/include/wx/gtk/toplevel.h @@ -102,16 +102,13 @@ public: int m_gdkFunc, m_gdkDecor; + // size of WM decorations + wxSize m_decorSize; + // 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; - // give hints to the Window Manager for how the size - // of the TLW can be changed by dragging - virtual void DoSetSizeHints( int minW, int minH, - int maxW = wxDefaultCoord, int maxH = wxDefaultCoord, - int incW = wxDefaultCoord, int incH = wxDefaultCoord ); - // return the size of the window without WM decorations void GTKDoGetSize(int *width, int *height) const; @@ -119,6 +116,11 @@ public: virtual bool IsDecorCacheable() const; protected: + // give hints to the Window Manager for how the size + // of the TLW can be changed by dragging + virtual void DoSetSizeHints( int minW, int minH, + int maxW, int maxH, + int incW, int incH); // common part of all ctors void Init();