Fix hiding wxMediaEvent::Clone().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2004-11-12 10:13:04 +00:00
parent cbfb8fe75a
commit a418b1f3a2

View File

@ -91,7 +91,7 @@ public:
: wxNotifyEvent(clone.GetEventType(), clone.GetId())
{ }
wxEvent *Clone() { return new wxMediaEvent(*this); }
virtual wxEvent *Clone() const { return new wxMediaEvent(*this); }
DECLARE_DYNAMIC_CLASS(wxMediaEvent)
};