X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3417c2cd3d5cb05451270b5a09fe2355406158a3..409c9842c71df526bcfbf1cf5ce80067b09d4d97:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index cc2212738b..a265f57e52 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -28,6 +28,7 @@ #include "wx/font.h" // so we can't do without them #include "wx/colour.h" #include "wx/region.h" +#include "wx/utils.h" #if wxUSE_VALIDATORS #include "wx/validate.h" // defines wxDefaultValidator @@ -276,6 +277,11 @@ public: int maxW = -1, int maxH = -1, int incW = -1, int incH = -1 ); + int GetMinWidth() const { return m_minWidth; } + int GetMinHeight() const { return m_minHeight; } + int GetMaxWidth() const { return m_maxWidth; } + int GetMaxHeight() const { return m_maxHeight; } + // window state // ------------