]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/clipcmn.cpp
fixed wxXmlResource::Load's detection of filenames to be done as early as possible
[wxWidgets.git] / src / common / clipcmn.cpp
index 31aa8bb2e815899229e8c67a9e1d5c8c189dc9fe..133c18967a10edd0ab8c9524dcfb87a7021896bf 100644 (file)
@@ -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__