From: Robert Roebling Date: Mon, 30 Oct 2006 15:02:34 +0000 (+0000) Subject: Mark GetMinSize() as virtual and explain why. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a3dae7b72cd2d1852398892d514eafd65cd34b64 Mark GetMinSize() as virtual and explain why. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index fc2585ede5..438768873c 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -1091,14 +1091,16 @@ by name. \constfunc{wxSize}{GetMaxSize}{\void} Returns the maximum size of the window, an indication to the sizer layout mechanism -that this is the maximum possible size. +that this is the maximum possible size. \membersection{wxWindow::GetMinSize}\label{wxwindowgetminsize} -\constfunc{wxSize}{GetMinSize}{\void} +\constfunc{virtual wxSize}{GetMinSize}{\void} Returns the minimum size of the window, an indication to the sizer layout mechanism -that this is the minimum required size. +that this is the minimum required size. It normally just returns the value set +by \helpref{SetMinSize}{wxwindowsetminsize}, but it can be overridden to do the +calculation on demand. \membersection{wxWindow::GetName}\label{wxwindowgetname}