]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/tdialog.tex
fix assert because of passing more than one border bit in style to the base class...
[wxWidgets.git] / docs / latex / wx / tdialog.tex
CommitLineData
a660d684
KB
1\section{wxDialog overview}\label{wxdialogoverview}
2
3Classes: \helpref{wxDialog}{wxdialog}
4
5A dialog box is similar to a panel, in that it is a window which can
6be used for placing controls, with the following exceptions:
7
8\begin{enumerate}
9\item A surrounding frame is implicitly created.
10\item Extra functionality is automatically given to the dialog box,
11 such as tabbing between items (currently Windows only).
12\item If the dialog box is {\it modal}, the calling program is blocked
13 until the dialog box is dismissed.
14\end{enumerate}
15
16Under Windows 3, modal dialogs have to be emulated using
17modeless dialogs and a message loop. This is because Windows 3 expects
18the contents of a modal dialog to be loaded from a resource file or
19created on receipt of a dialog initialization message. This is too
fc2171bd 20restrictive for wxWidgets, where any window may be created and displayed
a660d684
KB
21before its contents are created.
22
23For a set of dialog convenience functions, including file selection, see
24\rtfsp\helpref{Dialog functions}{dialogfunctions}.
25
26See also \helpref{wxPanel}{wxpanel} and \helpref{wxWindow}{wxwindow} for inherited
27member functions. Validation of data in controls is covered
28in \helpref{Validator overview}{validatoroverview}.
29
30
31