Frames have Ctrl+Q accelerator set automatically, as per the
PocketPC guidelines Documented issues in manual under wxWinCE topic. wxDEFAULT_DIALOG_STYLES rationalised so we can make use of styles such as wxCLOSE_BOX in future (OK button on titlebar) Added Set/GetAffirmativeId and DoOK so that titlebar OK button can be customised git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,6 +184,15 @@ of the following flags: wxOK, wxCANCEL, wxYES, wxNO, wxHELP, wxNO\_DEFAULT.
|
||||
|
||||
The sizer lays out the buttons in a manner appropriate to the platform.
|
||||
|
||||
\membersection{wxDialog::DoOK}\label{wxdialogdook}
|
||||
|
||||
\func{virtual bool}{DoOK}{\void}
|
||||
|
||||
This function is called when the titlebar OK button is pressed (PocketPC only).
|
||||
A command event for the identifier returned by GetAffirmativeId is sent by
|
||||
default. You can override this function. If the function returns false, wxWidgets
|
||||
will call Close() for the dialog.
|
||||
|
||||
\membersection{wxDialog::EndModal}\label{wxdialogendmodal}
|
||||
|
||||
\func{void}{EndModal}{\param{int }{retCode}}
|
||||
@@ -201,6 +210,16 @@ invocation.
|
||||
\helpref{wxDialog::GetReturnCode}{wxdialoggetreturncode},\rtfsp
|
||||
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}
|
||||
|
||||
\membersection{wxDialog::GetAffirmativeId}\label{wxdialoggetaffirmativeid}
|
||||
|
||||
\constfunc{int}{GetAffirmativeId}{\void}
|
||||
|
||||
Gets the identifier to be used when the user presses an OK button in a PocketPC titlebar.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxDialog::SetAffirmativeId}{wxdialogsetaffirmativeid}
|
||||
|
||||
\membersection{wxDialog::GetReturnCode}\label{wxdialoggetreturncode}
|
||||
|
||||
\func{int}{GetReturnCode}{\void}
|
||||
@@ -325,6 +344,17 @@ propagate the notification to child windows and controls.
|
||||
|
||||
\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}
|
||||
|
||||
\membersection{wxDialog::SetAffirmativeId}\label{wxdialogsetaffirmativeid}
|
||||
|
||||
\func{void}{SetAffirmativeId}{\param{int }{id}}
|
||||
|
||||
Sets the identifier to be used when the user presses an OK button in a PocketPC titlebar.
|
||||
By default, this is wxID\_OK.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxDialog::GetAffirmativeId}{wxdialoggetaffirmativeid}
|
||||
|
||||
\membersection{wxDialog::SetIcon}\label{wxdialogseticon}
|
||||
|
||||
\func{void}{SetIcon}{\param{const wxIcon\& }{icon}}
|
||||
|
Reference in New Issue
Block a user