X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..d94c09cdc685ff1dc85365af2ba7d36fa86d1002:/include/wx/gtk1/msgdlg.h diff --git a/include/wx/gtk1/msgdlg.h b/include/wx/gtk1/msgdlg.h index 6e74529d83..31bbf814cf 100644 --- a/include/wx/gtk1/msgdlg.h +++ b/include/wx/gtk1/msgdlg.h @@ -31,14 +31,24 @@ public: const wxString& caption = wxMessageBoxCaptionStr, long style = wxOK|wxCENTRE, const wxPoint& pos = wxDefaultPosition); + ~wxMessageDialog(); int ShowModal(); + virtual bool Show( bool WXUNUSED(show) = true ) { return false; }; + +protected: + // implement some base class methods to do nothing to avoid asserts and + // GTK warnings, since this is not a real wxDialog. + virtual void DoSetSize(int WXUNUSED(x), int WXUNUSED(y), + int WXUNUSED(width), int WXUNUSED(height), + int WXUNUSED(sizeFlags) = wxSIZE_AUTO) {} + virtual void DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), + int WXUNUSED(width), int WXUNUSED(height)) {} private: wxString m_caption; wxString m_message; long m_dialogStyle; - wxWindow *m_parent; DECLARE_DYNAMIC_CLASS(wxMessageDialog) };