From: Włodzimierz Skiba Date: Fri, 12 Nov 2004 10:13:04 +0000 (+0000) Subject: Fix hiding wxMediaEvent::Clone(). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a418b1f3a2037abfcc6090db6406806172b654c3?ds=inline Fix hiding wxMediaEvent::Clone(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/mediactrl.h b/include/wx/msw/mediactrl.h index a65a2da47a..96b32af59c 100644 --- a/include/wx/msw/mediactrl.h +++ b/include/wx/msw/mediactrl.h @@ -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) };