X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9379c0d752144826342fa2688a77aa5cccea3d9b..4d21409ebc4bfc328c740201b362067abc92a32f:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index bde3440ec7..c737099e2f 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -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 );