X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8946ede10c2702c7acbb194fe8bd2793d7fb8358..9113ffaf5602317f5f9bb212969d2dcaa18a484e:/src/common/clipcmn.cpp diff --git a/src/common/clipcmn.cpp b/src/common/clipcmn.cpp index 31aa8bb2e8..133c18967a 100644 --- a/src/common/clipcmn.cpp +++ b/src/common/clipcmn.cpp @@ -39,7 +39,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxClipboardEvent,wxEvent) -DEFINE_EVENT_TYPE(wxEVT_CLIPBOARD_CHANGED) +wxDEFINE_EVENT( wxEVT_CLIPBOARD_CHANGED, wxClipboardEvent ); // notice that ctors are defined here and not inline to avoid having to include // wx/dataobj.h from wx/clipbrd.h @@ -54,6 +54,11 @@ wxClipboardEvent::wxClipboardEvent(const wxClipboardEvent& event) { } +wxEvent* wxClipboardEvent::Clone() const +{ + return new wxClipboardEvent(*this); +} + bool wxClipboardEvent::SupportsFormat( const wxDataFormat &format ) const { #ifdef __WXGTK20__