fix for IBM xlC 8, it can't compile Clone() if wxDataFormat is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e8f9c7d1b0
commit
8d3166e8ac
@ -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<wxDataFormat> m_formats;
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxClipboardEvent)
|
||||
};
|
||||
|
||||
|
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user