From: Vadim Zeitlin Date: Tue, 1 Jan 2008 20:04:12 +0000 (+0000) Subject: CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/95883d6c0f9009507434920dd806f086a364bb3f CentreOnScreen() is in wxTLW, not wxWindow (bug 1861670) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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}} diff --git a/docs/latex/wx/window.tex b/docs/latex/wx/window.tex index 068ff4a2d1..7bda507e7a 100644 --- a/docs/latex/wx/window.tex +++ b/docs/latex/wx/window.tex @@ -295,13 +295,6 @@ A synonym for \helpref{Centre}{wxwindowcentre}. A synonym for \helpref{CentreOnParent}{wxwindowcentreonparent}. -\membersection{wxWindow::CenterOnScreen}\label{wxwindowcenteronscreen} - -\func{void}{CenterOnScreen}{\param{int}{ direction}} - -A synonym for \helpref{CentreOnScreen}{wxwindowcentreonscreen}. - - \membersection{wxWindow::Centre}\label{wxwindowcentre} \func{void}{Centre}{\param{int}{ direction = wxBOTH}} @@ -349,24 +342,7 @@ window is not a top level window, then behaviour is the same as \wxheading{See also} -\helpref{wxWindow::CentreOnScreen}{wxwindowcenteronscreen} - - -\membersection{wxWindow::CentreOnScreen}\label{wxwindowcentreonscreen} - -\func{void}{CentreOnScreen}{\param{int}{ direction = wxBOTH}} - -Centres the window on screen. This only works for top level windows - -otherwise, the window will still be centered on its parent. - -\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} +\helpref{wxTopLevelWindow::CentreOnScreen}{wxtoplevelwindowcenteronscreen} \membersection{wxWindow::ClearBackground}\label{wxwindowclearbackground}