X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ede7b01760e920b31520b15c919445db882a8012..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/generic/msgdlgg.h diff --git a/include/wx/generic/msgdlgg.h b/include/wx/generic/msgdlgg.h index 8238ccd7d1..21db4aa32b 100644 --- a/include/wx/generic/msgdlgg.h +++ b/include/wx/generic/msgdlgg.h @@ -12,6 +12,8 @@ #ifndef _WX_GENERIC_MSGDLGG_H_ #define _WX_GENERIC_MSGDLGG_H_ +class WXDLLIMPEXP_FWD_CORE wxSizer; + class WXDLLIMPEXP_CORE wxGenericMessageDialog : public wxMessageDialogBase { public: @@ -30,6 +32,7 @@ protected: void OnYes(wxCommandEvent& event); void OnNo(wxCommandEvent& event); + void OnHelp(wxCommandEvent& event); void OnCancel(wxCommandEvent& event); // can be overridden to provide more contents to the dialog @@ -37,6 +40,12 @@ protected: virtual void AddMessageDialogDetails(wxSizer *WXUNUSED(sizer)) { } private: + // Creates and returns a standard button sizer using the style of this + // dialog and the custom labels, if any. + // + // May return NULL on smart phone platforms not using buttons at all. + wxSizer *CreateMsgDlgButtonSizer(); + wxPoint m_pos; bool m_created;