<wx/toplevel.h>
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
\latexignore{\rtfignore{\wxheading{Members}}}
\helpref{wxTopLevelWindow::SetTransparent}{wxtoplevelwindowsettransparent}
+\membersection{wxWindow::CenterOnScreen}\label{wxtoplevelwindowcenteronscreen}
+
+\func{void}{CenterOnScreen}{\param{int}{ direction}}
+
+A synonym for \helpref{CentreOnScreen}{wxtoplevelwindowcentreonscreen}.
+
+
+\membersection{wxTopLevelWindow::CentreOnScreen}\label{wxtoplevelwindowcentreonscreen}
+
+\func{void}{CentreOnScreen}{\param{int}{ direction = wxBOTH}}
+
+Centres the window on screen.
+
+\wxheading{Parameters}
+
+\docparam{direction}{Specifies the direction for the centering. May be {\tt wxHORIZONTAL}, {\tt wxVERTICAL}\rtfsp
+or {\tt wxBOTH}.}
+
+\wxheading{See also}
+
+\helpref{wxWindow::CentreOnParent}{wxwindowcenteronparent}
+
+
\membersection{wxTopLevelWindow::EnableCloseButton}\label{wxtoplevelenableclosebutton}
\func{bool}{EnableCloseButton}{\param{bool}{ enable = true}}
\param{const wxSize\&}{ maxSize=wxDefaultSize}, \param{const wxSize\&}{ incSize=wxDefaultSize}}
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.
+If a pair of values is not set (or set to -1), no constraints will be used.
\docparam{incW}{Specifies the increment for sizing the width (GTK/Motif/Xt only).}
\docparam{incH}{Specifies the increment for sizing the height (GTK/Motif/Xt only).}
-\docparam{incSize}{Increment size (GTK/Motif/Xt only).}
+\docparam{incSize}{Increment size (only taken into account under X11-based
+ports such as wxGTK/wxMotif/wxX11).}
\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 GTK, Motif or Xt.
+Notice that this function not only prevents the user from resizing the window
+outside the given bounds but it also prevents the program itself from doing it
+using \helpref{SetSize}{wxwindowsetsize}.
\membersection{wxTopLevelWindow::SetRightMenu}\label{wxtoplevelwindowsetrightmenu}