X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfe1eee3bb9ecde8c4490ea69c07b5030d69530c..921d0fb1953c384c3f5066dabc19f0f7e4fb1da7:/include/wx/gtk1/dialog.h

diff --git a/include/wx/gtk1/dialog.h b/include/wx/gtk1/dialog.h
index cc3cbcac1a..a90b7305f0 100644
--- a/include/wx/gtk1/dialog.h
+++ b/include/wx/gtk1/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,
@@ -78,8 +76,6 @@ public:
 
     virtual void InitDialog(void);
 
-    virtual void Centre( int direction = wxHORIZONTAL );
-
     virtual void SetIcon( const wxIcon &icon );
     virtual void Iconize( bool WXUNUSED(iconize)) { }
     virtual bool IsIconized() const { return FALSE; }
@@ -87,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 );
@@ -106,6 +104,7 @@ protected:
 
 private:
     DECLARE_EVENT_TABLE()
+    DECLARE_DYNAMIC_CLASS(wxDialog)
 };
 
 #endif // __GTKDIALOGH__