X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..c5c1ea964817e562d1c4b0d89b3937fce28c3f10:/include/wx/clipbrd.h diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index 9d1c67cd62..3376472381 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -111,12 +111,11 @@ public: bool SupportsFormat(const wxDataFormat& format) const; void AddFormat(const wxDataFormat& format); - virtual wxEvent *Clone() const { return new wxClipboardEvent(*this); } + virtual wxEvent *Clone() const; protected: wxVector m_formats; -private: DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent) };