X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a43ec16b16cf61894294f071011ec984d8a3d673..580ca0a4e10dbd2fb0a144065004394b9d5dcc56:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 737019df45..933b258595 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -250,6 +250,16 @@ 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 ); + // the frame client to screen translation should take account of the // toolbar which may shift the origin of the client area virtual void DoClientToScreen(int *x, int *y) const;