X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a7af285d1ab87e908454bfabbbe063ab1756912b..038c03337f139d64f99d3334edfd1aa08354d9f0:/docs/latex/wx/tlw.tex diff --git a/docs/latex/wx/tlw.tex b/docs/latex/wx/tlw.tex index c40594c21c..89f6f8ffde 100644 --- a/docs/latex/wx/tlw.tex +++ b/docs/latex/wx/tlw.tex @@ -44,6 +44,29 @@ Returns \true if the platform supports making the window translucent. \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}}