Helpful references.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,13 +157,13 @@ PocketPC dialogs have an OK button on the caption, and so you should generally
|
|||||||
not repeat an OK button on the dialog. You can add a Cancel button if necessary, but some dialogs
|
not repeat an OK button on the dialog. You can add a Cancel button if necessary, but some dialogs
|
||||||
simply don't offer you the choice (the guidelines recommend you offer an Undo facility
|
simply don't offer you the choice (the guidelines recommend you offer an Undo facility
|
||||||
to make up for it). When the user clicks on the OK button, your dialog will receive
|
to make up for it). When the user clicks on the OK button, your dialog will receive
|
||||||
a wxID\_OK event by default. If you wish to change this, call wxDialog::SetAffirmativeId
|
a wxID\_OK event by default. If you wish to change this, call \helpref{wxDialog::SetAffirmativeId}{wxdialogsetaffirmativeid}
|
||||||
with the required identifier to be used. Or, override wxDialog::DoOK (return false to
|
with the required identifier to be used. Or, override \helpref{wxDialog::DoOK}{wxdialogdook} (return false to
|
||||||
have wxWidgets simply call Close to dismiss the dialog).
|
have wxWidgets simply call Close to dismiss the dialog).
|
||||||
|
|
||||||
Smartphone dialogs do {\it not} have an OK button on the caption, and are closed
|
Smartphone dialogs do {\it not} have an OK button on the caption, and are closed
|
||||||
using one of the two menu buttons. You need to assign these using wxTopLevelWindow::SetLeftMenu
|
using one of the two menu buttons. You need to assign these using \helpref{wxTopLevelWindow::SetLeftMenu}{wxtoplevelwindowsetleftmenu}
|
||||||
and wxTopLevelWindow::SetRightMenu, for example:
|
and \helpref{wxTopLevelWindow::SetRightMenu}{wxtoplevelwindowsetrightmenu}, for example:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
#ifdef __SMARTPHONE__
|
#ifdef __SMARTPHONE__
|
||||||
|
Reference in New Issue
Block a user