X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c757b5fee093bbc3686f1e474316396b742fb888..1832043f93af07af3f4891d9a95c4d4e1f70eec5:/include/wx/fontpicker.h?ds=sidebyside diff --git a/include/wx/fontpicker.h b/include/wx/fontpicker.h index 4175ba3f05..1137228e00 100644 --- a/include/wx/fontpicker.h +++ b/include/wx/fontpicker.h @@ -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) }; // ----------------------------------------------------------------------------