]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/dialoglayoutadapter.tex
Corrected docs of ::release and ::reset in smart pointers
[wxWidgets.git] / docs / latex / wx / dialoglayoutadapter.tex
1 \section{\class{wxDialogLayoutAdapter}}\label{wxdialoglayoutadapter}
2
3 This abstract class is the base for classes that help wxWidgets peform run-time layout adaptation of dialogs. Principally,
4 this is to cater for small displays by making part of the dialog scroll, but the application developer may find other
5 uses for layout adaption.
6
7 By default, there is one instance of wxStandardDialogLayoutAdapter
8 which can perform adaptation for most custom dialogs and dialogs with book controls
9 such as \helpref{wxPropertySheetDialog}{wxpropertysheetdialog}.
10
11 \wxheading{Derived from}
12
13 \helpref{wxObject}{wxobject}
14
15 \wxheading{Include files}
16
17 <wx/dialog.h>
18
19 \wxheading{Library}
20
21 \helpref{wxCore}{librarieslist}
22
23 \wxheading{See also}
24
25 \helpref{Automatic scrolling dialogs}{autoscrollingdialogs}
26
27 \latexignore{\rtfignore{\wxheading{Members}}}
28
29
30 \membersection{wxDialogLayoutAdapter::wxDialogLayoutAdapter}\label{wxdialoglayoutadapterctor}
31
32 \func{}{wxDialogLayoutAdapter}{\void}
33
34 Default constructor.
35
36 \membersection{wxDialogLayoutAdapter::CanDoLayoutAdaptation}\label{wxdialoglayoutadaptercandolayoutadaptation}
37
38 \func{bool}{CanDoLayoutAdaptation}{\param{wxDialog*}{ dialog}}
39
40 Override this to returns \true if adaptation can and should be done.
41
42 \membersection{wxDialogLayoutAdapter::DoLayoutAdaptation}\label{wxdialoglayoutadapterdolayoutadaptation}
43
44 \func{bool}{DoLayoutAdaptation}{\param{wxDialog*}{ dialog}}
45
46 Override this to perform layout adaptation, such as making parts of the dialog scroll and resizing the dialog to fit the display.
47 Normally this function will be called just before the dialog is shown.
48