X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03b3965c3a929206d199fe760dca01027b10c741..6033bbc1ff95fb69b65b081d03b4a679dd958e75:/include/wx/gtk1/msgdlg.h diff --git a/include/wx/gtk1/msgdlg.h b/include/wx/gtk1/msgdlg.h index ddc15961ce..7ca2daea90 100644 --- a/include/wx/gtk1/msgdlg.h +++ b/include/wx/gtk1/msgdlg.h @@ -33,6 +33,15 @@ public: const wxPoint& pos = wxDefaultPosition); int ShowModal(); + virtual bool Show( bool 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 x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO) {} + virtual void DoMoveWindow(int x, int y, int width, int height) {} private: wxString m_caption;