]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/datectrl.h
destroy m_impl even if an exception is thrown from the main loop
[wxWidgets.git] / include / wx / palmos / datectrl.h
index d6e935fe350d0ae171da4f44548f861c63170e26..4b4d086135cc07ba823ca1a8e866171155f0e079 100644 (file)
@@ -65,7 +65,8 @@ private:
 
     void Init() { m_dt = wxDateTime::Today(); }
 
-    DECLARE_NO_COPY_CLASS(wxDatePickerCtrl)
+
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxDatePickerCtrl)
 };
 
 #endif // _WX_PALMOS_DATECTRL_H_