]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/msgdlg.h
replaced wxStream::GetSize() with GetLength() (still keep the former but it will...
[wxWidgets.git] / include / wx / gtk / msgdlg.h
index ddc15961ceac2d17a3d287b2b130a0e3c3071726..1f142a6dce5cb35c10c7717293dd93dc31f1663b 100644 (file)
@@ -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;