]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dialog.h
Fixed a void* to wxObject* conversion error in a return causing compile break across...
[wxWidgets.git] / include / wx / gtk / dialog.h
index 5e66c1230696818327191fb0e17802c90b31490a..a90b7305f025080bbb13af798ed9d15027a72710 100644 (file)
@@ -37,8 +37,6 @@ extern const wxChar *wxDialogNameStr;
 
 class wxDialog: public wxDialogBase
 {
-    DECLARE_DYNAMIC_CLASS(wxDialog)
-
 public:
     wxDialog() { Init(); }
     wxDialog( wxWindow *parent, wxWindowID id,
@@ -106,6 +104,7 @@ protected:
 
 private:
     DECLARE_EVENT_TABLE()
+    DECLARE_DYNAMIC_CLASS(wxDialog)
 };
 
 #endif // __GTKDIALOGH__