]> git.saurik.com Git - wxWidgets.git/commitdiff
fix hiding the other (mac) one
authorRyan Norton <wxprojects@comcast.net>
Fri, 12 Nov 2004 10:23:22 +0000 (10:23 +0000)
committerRyan Norton <wxprojects@comcast.net>
Fri, 12 Nov 2004 10:23:22 +0000 (10:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/mediactrl.h

index b2a5681329d04eb4b4dca988dc3202eff835ff05..6143d8facb974e99848f7b1fe14d8a4fe7cb6db8 100644 (file)
@@ -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) 
 };