]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/nbsizer.tex
Apply Mart R.'s patch for improved font width
[wxWidgets.git] / docs / latex / wx / nbsizer.tex
CommitLineData
85ec2f26
RR
1\section{\class{wxNotebookSizer}}\label{wxnotebooksizer}
2
9f8b5032 3{\bf This class is deprecated and should not be used in new code! It is no
c6eb7785 4longer needed, \helpref{wxNotebook}{wxnotebook} control can be inserted
184686f6 5into any sizer class and its minimal size will be determined correctly.
c6eb7785
VS
6See \helpref{wxSizer overview}{sizeroverview} for more information.}
7
85ec2f26
RR
8wxNotebookSizer is a specialized sizer to make sizers work in connection
9with using notebooks. This sizer is different from any other sizer as
10you must not add any children to it - instead, it queries the notebook class itself.
11The only thing this sizer does is to determine the size of the biggest
12page of the notebook and report an adjusted minimal size to a more toplevel
13sizer.
14
85ec2f26
RR
15\wxheading{Derived from}
16
17\helpref{wxSizer}{wxsizer}\\
18\helpref{wxObject}{wxobject}
19
0bf97466
RN
20\wxheading{Include files}
21
22<wx/sizer.h>
23
1c0c339c
JS
24\wxheading{See also}
25
26\helpref{wxSizer}{wxsizer}, \helpref{wxNotebook}{wxnotebook}, \helpref{Sizer overview}{sizeroverview}
27
85ec2f26
RR
28\latexignore{\rtfignore{\wxheading{Members}}}
29
30\membersection{wxNotebookSizer::wxNotebookSizer}\label{wxnotebooksizerwxnotebooksizer}
31
32\func{}{wxNotebookSizer}{\param{wxNotebook* }{notebook}}
33
34Constructor. It takes an associated notebook as its only parameter.
35
36\membersection{wxNotebookSizer::GetNotebook}\label{wxnotebooksizergetnotebook}
37
38\func{wxNotebook*}{GetNotebook}{\void}
39
40Returns the notebook associated with the sizer.
41