]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/toplevel.h
Restore compilation with --enable-stl, fix SetFocus with the generic control, and...
[wxWidgets.git] / include / wx / gtk / toplevel.h
index ac0081c8fc56c6a53f065545d835ec66a5368b10..e714803be9a62274019aa3a7b71a871049c41d61 100644 (file)
@@ -51,6 +51,8 @@ public:
     virtual void SetIcons(const wxIconBundle& icons);
     virtual void Restore();
 
+    virtual bool EnableCloseButton(bool enable = true);
+
     virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
     virtual bool IsFullScreen() const { return m_fsIsShowing; };
 
@@ -106,6 +108,12 @@ public:
     // 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 );
+
 protected:
     // common part of all ctors
     void Init();
@@ -118,7 +126,7 @@ protected:
     virtual void DoSetSize(int x, int y,
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
-
+                                 
     virtual void DoSetClientSize(int width, int height);
     virtual void DoGetClientSize( int *width, int *height ) const;