Make SetMinSize() and SetMaxSize() virtual so they
can be overridden in wxTLW to set WM hints. Actually did that for wxGTK, nothing required for wxMSW, no idea about wxMac. Documented this in tlw.tex. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -280,6 +280,20 @@ Unavailable on full keyboard machines.
|
||||
\helpref{wxTopLevelWindow::SetRightMenu}{wxtoplevelwindowsetrightmenu}.
|
||||
|
||||
|
||||
\membersection{wxTopLevelWindow::SetMaxSize}\label{wxtoplevelwindowsetmaxsize}
|
||||
|
||||
\func{void}{SetMaxSize}{\param{const wxSize\& }{size}}
|
||||
|
||||
A simpler interface for setting the size hints than
|
||||
\helpref{SetSizeHints}{wxtoplevelwindowsetsizehints}.
|
||||
|
||||
\membersection{wxTopLevelWindow::SetMinSize}\label{wxtoplevelwindowsetminsize}
|
||||
|
||||
\func{void}{SetMinSize}{\param{const wxSize\& }{size}}
|
||||
|
||||
A simpler interface for setting the size hints than
|
||||
\helpref{SetSizeHints}{wxtoplevelwindowsetsizehints}.
|
||||
|
||||
\membersection{wxTopLevelWindow::SetSizeHints}\label{wxtoplevelwindowsetsizehints}
|
||||
|
||||
\func{virtual void}{SetSizeHints}{\param{int}{ minW}, \param{int}{ minH}, \param{int}{ maxW=-1}, \param{int}{ maxH=-1},
|
||||
|
Reference in New Issue
Block a user