added HasMultiplePages()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-28 23:46:32 +00:00
parent 88aaf4f5bf
commit e71c530e03
3 changed files with 20 additions and 0 deletions

View File

@@ -1400,6 +1400,18 @@ Returns {\tt true} if this window has the current mouse capture.
Returns \texttt{true} if the window has the given \arg{flag} bit set.
\membersection{wxWindow::HasMultiplePages}\label{wxwindowhasmultiplepages}
\constfunc{virtual bool}{HasMultiplePages}{\void}
This method should be overridden to return \texttt{true} if this window has
multiple pages. All standard class with multiple pages such as
\helpref{wxNotebook}{wxnotebook}, \helpref{wxListbook}{wxlistbook} and
\helpref{wxTreebook}{wxtreebook} already override it to return \texttt{true}
and user-defined classes with similar behaviour should do it as well to allow
the library to handle such windows appropriately.
\membersection{wxWindow::HasScrollbar}\label{wxwindowhasscrollbar}
\constfunc{virtual bool}{HasScrollbar}{\param{int }{orient}}