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
This commit is contained in:
Vadim Zeitlin
2008-01-01 20:04:12 +00:00
parent d67c33888f
commit 95883d6c0f
2 changed files with 24 additions and 25 deletions

View File

@@ -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}}

View File

@@ -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}