git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59015
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool SupportsFormat(const wxDataFormat& format) const;
void AddFormat(const wxDataFormat& format);
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<wxDataFormat> m_formats;
protected:
wxVector<wxDataFormat> m_formats;
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent)
};
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent)
};
+wxEvent* wxClipboardEvent::Clone() const
+{
+ return new wxClipboardEvent(*this);
+}
+
bool wxClipboardEvent::SupportsFormat( const wxDataFormat &format ) const
{
#ifdef __WXGTK20__
bool wxClipboardEvent::SupportsFormat( const wxDataFormat &format ) const
{
#ifdef __WXGTK20__