X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8487f8874288a8e4fe40ead153c73dfc7777f41b..2b96d0fb4be7d684c17987d74f8f92d0cfe345b5:/include/wx/gtk/dialog.h

diff --git a/include/wx/gtk/dialog.h b/include/wx/gtk/dialog.h
index 5e66c12306..7050e0b05e 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,
@@ -88,7 +86,12 @@ public:
     virtual bool IsTopLevel() const { return TRUE; }
     
     // implementation
+    // --------------
 
+    // move the window to the specified location and resize it: this is called
+    // from both DoSetSize() and DoSetClientSize()
+    virtual void DoMoveWindow(int x, int y, int width, int height);
+    
     virtual void GtkOnSize( int x, int y, int width, int height );
     virtual void OnInternalIdle();
 
@@ -100,12 +103,16 @@ protected:
     // common part of all ctors
     void Init();
 
+    // common part of Destroy() and ~wxDialog
+    void CleanUp();
+
     virtual void DoSetSize(int x, int y,
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
 private:
     DECLARE_EVENT_TABLE()
+    DECLARE_DYNAMIC_CLASS(wxDialog)
 };
 
 #endif // __GTKDIALOGH__