]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/toplevel.h
fix some warnings from GCC -Wextra
[wxWidgets.git] / include / wx / gtk / toplevel.h
index a8bc266b57a30af5366d7b7ad859ed3916348c79..463537c387b637f831df6889a4abaf6ca40ad977 100644 (file)
@@ -107,6 +107,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,13 +143,13 @@ protected:
     wxString m_title;
 
 private:
+    wxSize& GetCachedDecorSize();
+
     // is the frame currently iconized?
     bool m_isIconized;
 
     // is the frame currently grabbed explicitly by the application?
     bool m_grabbed;
-
-    wxSize m_sizeIncHint;
 };
 
 #endif // _WX_GTK_TOPLEVEL_H_