X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716cd4107bb8a5f37dea34507453be6870aaef3a..a81c3c2383f9096ef5e96b708a0f1c1ffe7cc6a8:/contrib/include/wx/applet/applet.h

diff --git a/contrib/include/wx/applet/applet.h b/contrib/include/wx/applet/applet.h
index f51a370497..42c8e18dde 100644
--- a/contrib/include/wx/applet/applet.h
+++ b/contrib/include/wx/applet/applet.h
@@ -34,7 +34,7 @@
 
 // Forward declaration
 class wxHtmlAppletWindow;
-
+class wxAppletEvent;
 /*--------------------------- Class Definitions ---------------------------*/
 
 /****************************************************************************
@@ -44,7 +44,7 @@ Defines the abstract base class for wxApplet objects.
 class wxApplet : public wxPanel {
 private:
     DECLARE_ABSTRACT_CLASS(wxApplet);
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 
 protected:
     //wxHtmlAppletWindow  *m_parent;
@@ -76,7 +76,7 @@ public:
     virtual void OnHistoryBack() = 0;
 
             // Handle messages from the wxAppletManager and other applets
-    virtual void OnMessage(wxEvent& msg) = 0;
+    virtual void OnMessage(wxAppletEvent& msg) = 0;
     };