simplify wxGTK DoSetSizeHints logic, respect size increments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-02-06 04:59:29 +00:00
parent ca152e4cf4
commit d6c11fa975
3 changed files with 28 additions and 47 deletions

View File

@@ -305,16 +305,16 @@ A simpler interface for setting the size hints than
Allows specification of minimum and maximum window sizes, and window size increments.
If a pair of values is not set (or set to -1), the default values will be used.
\docparam{incW}{Specifies the increment for sizing the width (Motif/Xt only).}
\docparam{incW}{Specifies the increment for sizing the width (GTK/Motif/Xt only).}
\docparam{incH}{Specifies the increment for sizing the height (Motif/Xt only).}
\docparam{incH}{Specifies the increment for sizing the height (GTK/Motif/Xt only).}
\docparam{incSize}{Increment size (Motif/Xt only).}
\docparam{incSize}{Increment size (GTK/Motif/Xt only).}
\wxheading{Remarks}
If this function is called, the user will not be able to size the window outside
the given bounds. The resizing increments are only significant under Motif or Xt.
the given bounds. The resizing increments are only significant under GTK, Motif or Xt.
\membersection{wxTopLevelWindow::SetRightMenu}\label{wxtoplevelwindowsetrightmenu}