X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/50a2a3553af0449fefad444c04e91dea2589092c..9b237f109cd17f0ab7c509cdc08fb6688ca1a708:/samples/dialogs/dialogs.h diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index f70e173606..f92379f33f 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -208,6 +208,7 @@ public: bool Create(); protected: + wxString GetBoxTitle() { return m_textTitle->GetValue(); } wxString GetMessage() { return m_textMsg->GetValue(); } long GetStyle(); @@ -228,6 +229,7 @@ private: Btn_No, Btn_Ok, Btn_Cancel, + Btn_Help, Btn_Max }; @@ -247,10 +249,12 @@ private: MsgDlgIcon_Question, MsgDlgIcon_Warning, MsgDlgIcon_Error, + MsgDlgIcon_AuthNeeded, MsgDlgIcon_Max }; - wxTextCtrl *m_textMsg, + wxTextCtrl *m_textTitle, + *m_textMsg, *m_textExtMsg; wxCheckBox *m_buttons[Btn_Max]; @@ -293,7 +297,10 @@ public: TestDefaultActionDialog( wxWindow *parent ); void OnListBoxDClick(wxCommandEvent& event); + void OnDisableOK(wxCommandEvent& event); + void OnDisableCancel(wxCommandEvent& event); void OnCatchListBoxDClick(wxCommandEvent& event); + void OnTextEnter(wxCommandEvent& event); private: bool m_catchListBoxDClick; @@ -461,6 +468,10 @@ public: void OnNotifMsgHide(wxCommandEvent& event); #endif // wxUSE_NOTIFICATION_MESSAGE +#if wxUSE_RICHTOOLTIP + void OnRichTipDialog(wxCommandEvent& event); +#endif // wxUSE_RICHTOOLTIP + void OnStandardButtonsSizerDialog(wxCommandEvent& event); void OnTestDefaultActionDialog(wxCommandEvent& event); @@ -572,6 +583,7 @@ enum DIALOGS_NOTIFY_AUTO, DIALOGS_NOTIFY_SHOW, DIALOGS_NOTIFY_HIDE, + DIALOGS_RICHTIP_DIALOG, DIALOGS_PROPERTY_SHEET, DIALOGS_PROPERTY_SHEET_TOOLBOOK, DIALOGS_PROPERTY_SHEET_BUTTONTOOLBOOK,