From: Ryan Norton Date: Fri, 12 Nov 2004 10:23:22 +0000 (+0000) Subject: fix hiding the other (mac) one X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e05928eb5bdb343e6ad06ab4113ac13dd1ab9fd0?ds=inline fix hiding the other (mac) one git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/mediactrl.h b/include/wx/mac/carbon/mediactrl.h index b2a5681329..6143d8facb 100644 --- a/include/wx/mac/carbon/mediactrl.h +++ b/include/wx/mac/carbon/mediactrl.h @@ -107,7 +107,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) };