diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 7b639b37a0..0df9ac310d 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -722,11 +722,8 @@ See also \helpref{wxAccessible}{wxaccessible}. \constfunc{wxSize}{GetAdjustedBestSize}{\void} -This method is similar to \helpref{GetBestSize}{wxwindowgetbestsize}, except -in one thing. GetBestSize should return the minimum untruncated size of the -window, while this method will return the largest of BestSize and any user -specified minimum size. ie. it is the minimum size the window should currently -be drawn at, not the minimal size it can possibly tolerate. +This method is deprecated, use \helpref{GetEffectiveMinSize}{wxwindowgeteffectiveminsize} +instead. \membersection{wxWindow::GetBackgroundColour}\label{wxwindowgetbackgroundcolour} diff --git a/include/wx/window.h b/include/wx/window.h index ee574b4482..5a098ee0f3 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -359,6 +359,7 @@ public: // returns the results. wxSize GetEffectiveMinSize() const; wxDEPRECATED( wxSize GetBestFittingSize() const ); // replaced by GetEffectiveMinSize + wxDEPRECATED( wxSize GetAdjustedMinSize() const ); // replaced by GetEffectiveMinSize // A 'Smart' SetSize that will fill in default size values with 'best' // size. Sets the minsize to what was passed in.