From 83cda8eb0a329674400977aafb8772dcda39a68e Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 13 Nov 2005 21:47:08 +0000 Subject: [PATCH] Helpful references. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/wxmsw.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/latex/wx/wxmsw.tex b/docs/latex/wx/wxmsw.tex index 933b94bf43..4bdca0e53b 100644 --- a/docs/latex/wx/wxmsw.tex +++ b/docs/latex/wx/wxmsw.tex @@ -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 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 -a wxID\_OK event by default. If you wish to change this, call wxDialog::SetAffirmativeId -with the required identifier to be used. Or, override wxDialog::DoOK (return false to +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 \helpref{wxDialog::DoOK}{wxdialogdook} (return false to have wxWidgets simply call Close to dismiss the dialog). 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 -and wxTopLevelWindow::SetRightMenu, for example: +using one of the two menu buttons. You need to assign these using \helpref{wxTopLevelWindow::SetLeftMenu}{wxtoplevelwindowsetleftmenu} +and \helpref{wxTopLevelWindow::SetRightMenu}{wxtoplevelwindowsetrightmenu}, for example: \begin{verbatim} #ifdef __SMARTPHONE__ -- 2.47.2