]> git.saurik.com Git - wxWidgets.git/commitdiff
Mark GetMinSize() as virtual and explain why.
authorRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 15:02:34 +0000 (15:02 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 30 Oct 2006 15:02:34 +0000 (15:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/window.tex

index fc2585ede574bc985fdbbf27cc5ee10ae55e93b5..438768873c8a08dda5d91822ba8611b609513b93 100644 (file)
@@ -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}