X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b835535a92d6c281084c10e46d51029c1eb776d..2063a4a0cab1161dbda7c1dc52f6996436765ce4:/include/wx/gtk/dialog.h diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h index f440b8a6be..a90b7305f0 100644 --- a/include/wx/gtk/dialog.h +++ b/include/wx/gtk/dialog.h @@ -37,8 +37,6 @@ extern const wxChar *wxDialogNameStr; class wxDialog: public wxDialogBase { - DECLARE_DYNAMIC_CLASS(wxDialog) - public: wxDialog() { Init(); } wxDialog( wxWindow *parent, wxWindowID id, @@ -85,6 +83,8 @@ public: virtual void Maximize() { } virtual void Restore() { } + virtual bool IsTopLevel() const { return TRUE; } + // implementation virtual void GtkOnSize( int x, int y, int width, int height ); @@ -104,6 +104,7 @@ protected: private: DECLARE_EVENT_TABLE() + DECLARE_DYNAMIC_CLASS(wxDialog) }; #endif // __GTKDIALOGH__