X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03b3965c3a929206d199fe760dca01027b10c741..3692b33c7f1d4f86c3e5333954c454b15c20b4d2:/include/wx/gtk/msgdlg.h?ds=inline diff --git a/include/wx/gtk/msgdlg.h b/include/wx/gtk/msgdlg.h index ddc15961ce..1f142a6dce 100644 --- a/include/wx/gtk/msgdlg.h +++ b/include/wx/gtk/msgdlg.h @@ -33,6 +33,16 @@ public: const wxPoint& pos = wxDefaultPosition); 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;