From a418b1f3a2037abfcc6090db6406806172b654c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 12 Nov 2004 10:13:04 +0000 Subject: [PATCH] Fix hiding wxMediaEvent::Clone(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/mediactrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) };