Return SetSizeHints() in wxWindow to its former

life but still recommend to use SetMinSize()
    and SetMaxSize(). I've already purged wxWidgets
    of any use of this function internally, but
    others may use it still.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-31 23:14:28 +00:00
parent 93da796db4
commit b21f4960b1
3 changed files with 30 additions and 9 deletions

View File

@@ -3299,8 +3299,13 @@ implements the following methods:\par
\membersection{wxWindow::SetSizeHints}\label{wxwindowsetsizehints}
This method does nothing for a normal wxWindow and is only kept
for backwards compatibility. The actual implementation is in
Use of this function for windows which are not toplevel windows
(such as wxDialog or wxFrame) is discouraged. Please use
\helpref{SetMinSize}{wxwindowsetminsize} and \helpref{SetMaxSize}{wxwindowsetmaxsize}
instead.
\wxheading{See also}
\helpref{wxTopLevelWindow::SetSizeHints}{wxtoplevelwindowsetsizehints}.