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:
@@ -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
|
||||
|
||||
|
@@ -708,10 +708,13 @@ public:
|
||||
Merges the window's best size into the min size and returns the result.
|
||||
This is the value used by sizers to determine the appropriate
|
||||
ammount of space to allocate for the widget.
|
||||
|
||||
This is the method called by any wxSizer when they query the size
|
||||
of a certain window or control.
|
||||
|
||||
@see GetBestSize(), SetInitialSize(), @ref overview_windowsizing
|
||||
*/
|
||||
wxSize GetEffectiveMinSize() const;
|
||||
virtual wxSize GetEffectiveMinSize() const;
|
||||
|
||||
/**
|
||||
Returns the maximum size of window's client area.
|
||||
|
Reference in New Issue
Block a user