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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user