]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
cleanup code and reorganize it to reuse the same switch() for both OnChar() and Valid...
[wxWidgets.git] / include / wx / window.h
index 4a7c051835e9fd76f55d37fa1198dae42893923f..9ae3e478484afb58e2da1265d7dee18b49f48d58 100644 (file)
@@ -458,8 +458,8 @@ public:
         // Call these to override what GetBestSize() returns. This
         // method is only virtual because it is overriden in wxTLW
         // as a different API for SetSizeHints().
-    virtual void SetMinSize(const wxSize& minSize) { m_minWidth = minSize.x; m_minHeight = minSize.y; }
-    virtual void SetMaxSize(const wxSize& maxSize) { m_maxWidth = maxSize.x; m_maxHeight = maxSize.y; }
+    virtual void SetMinSize(const wxSize& minSize);
+    virtual void SetMaxSize(const wxSize& maxSize);
 
         // Like Set*Size, but for client, not window, size
     virtual void SetMinClientSize(const wxSize& size)