]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontpicker.h
fix the bug with the current path being restored if it was under the group being...
[wxWidgets.git] / include / wx / fontpicker.h
index 4175ba3f05ac35549d1d2a5c2f7842d5683681ab..1137228e00ed86a061701a64eac23aac71c58d05 100644 (file)
@@ -194,10 +194,13 @@ public:
     wxFont GetFont() const { return m_font; }
     void SetFont(const wxFont &c) { m_font = c; }
 
+    // default copy ctor, assignment operator and dtor are ok
+    virtual wxEvent *Clone() const { return new wxFontPickerEvent(*this); }
+
 private:
     wxFont m_font;
 
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxFontPickerEvent)
+    DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxFontPickerEvent)
 };
 
 // ----------------------------------------------------------------------------