X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..a9102b3671a45d116d781b0c8e90d2e9a84fbdcb:/include/wx/motif/msgdlg.h diff --git a/include/wx/motif/msgdlg.h b/include/wx/motif/msgdlg.h index b8724d271f..008f64b8cd 100644 --- a/include/wx/motif/msgdlg.h +++ b/include/wx/motif/msgdlg.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: msgdlg.h +// Name: wx/motif/msgdlg.h // Purpose: wxMessageDialog class. Use generic version if no // platform-specific implementation. // Author: Julian Smart @@ -26,27 +26,26 @@ WXDLLEXPORT_DATA(extern const char*) wxMessageBoxCaptionStr; -class WXDLLEXPORT wxMessageDialog: public wxDialog +class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase { DECLARE_DYNAMIC_CLASS(wxMessageDialog) - + public: wxMessageDialog(wxWindow *parent, const wxString& message, const wxString& caption = wxMessageBoxCaptionStr, long style = wxOK | wxCENTRE, const wxPoint& pos = wxDefaultPosition); - + int ShowModal(); - + // implementation only from now on // called by the Motif callback void SetResult(long result) { m_result = result; } - + protected: wxString m_caption; wxString m_message; - long m_dialogStyle; wxWindow * m_parent; long m_result; };