X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b7735e10f1f9dc889c9817a8066ef34e399328f..c0fbf24ba6abc81db66ead334d69af670a8ec5a7:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 1035f06356..af98d65c85 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -293,8 +293,8 @@ 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; } + virtual int GetMinWidth() const { return m_minWidth; } + virtual int GetMinHeight() const { return m_minHeight; } int GetMaxWidth() const { return m_maxWidth; } int GetMaxHeight() const { return m_maxHeight; } @@ -923,7 +923,7 @@ protected: // capture/release the mouse, used by Capture/ReleaseMouse() virtual void DoCaptureMouse() = 0; virtual void DoReleaseMouse() = 0; - + // retrieve the position/size of the window virtual void DoGetPosition( int *x, int *y ) const = 0; virtual void DoGetSize( int *width, int *height ) const = 0;