Make GetEffectiveMinSize virtual as not being able to override the method, which the sizer system depends on, is inflexible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-30 09:37:14 +00:00
parent fc50ab9081
commit a20a357d92
2 changed files with 5 additions and 2 deletions

View File

@@ -402,7 +402,7 @@ public:
// This function will merge the window's best size into the window's
// minimum size, giving priority to the min size components, and
// returns the results.
wxSize GetEffectiveMinSize() const;
virtual wxSize GetEffectiveMinSize() const;
wxDEPRECATED( wxSize GetBestFittingSize() const ); // replaced by GetEffectiveMinSize
wxDEPRECATED( wxSize GetAdjustedMinSize() const ); // replaced by GetEffectiveMinSize