]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/toplevel.h
Hold a reference on m_widget for the life of the associated wxWindow object.
[wxWidgets.git] / include / wx / gtk / toplevel.h
index 2fa607c415b913186afb491b84bfefd69c99ed10..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,6 +143,8 @@ protected:
     wxString m_title;
 
 private:
+    wxSize& GetCachedDecorSize();
+
     // is the frame currently iconized?
     bool m_isIconized;