]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/toplevel.h
mac more native types
[wxWidgets.git] / include / wx / gtk / toplevel.h
index f6f1b7c5407f92c0feca50181f7cb06f69136e26..3d645485739ed85c3c296234c42cd216a3db3f53 100644 (file)
@@ -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();