]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
I blindly believe that WinCE doesn't delete a
[wxWidgets.git] / include / wx / toplevel.h
index bde3440ec79072ca65e0e486a90b887109e69211..c737099e2f5cf844bc9978cae8cb4c88fbb55aa4 100644 (file)
@@ -233,7 +233,6 @@ public:
     virtual bool Destroy();
     virtual bool IsTopLevel() const { return true; }
     virtual bool IsVisible() const { return IsShown(); }
-    virtual wxSize GetMaxSize() const;
 
     // event handlers
     void OnCloseWindow(wxCloseEvent& event);
@@ -250,6 +249,12 @@ public:
     virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ;
 
 protected:
+
+    // a different API for SetSizeHints
+    virtual void SetMinSize(const wxSize& minSize);
+    virtual void SetMaxSize(const wxSize& maxSize);
+
+    // set size hints for "window manager"
     virtual void DoSetSizeHints( int minW, int minH,
                                  int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
                                  int incW = wxDefaultCoord, int incH = wxDefaultCoord );