Implement some base class virtuals to avoid errors related to this not

being a true wxDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-02 01:55:29 +00:00
parent 6f28211af2
commit b2ce5e1b27
4 changed files with 52 additions and 32 deletions

View File

@@ -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;