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
{
}
+wxEvent* wxClipboardEvent::Clone() const
+{
+ return new wxClipboardEvent(*this);
+}
+
bool wxClipboardEvent::SupportsFormat( const wxDataFormat &format ) const
{
#ifdef __WXGTK20__