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