]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/applet/plugin.cpp
let the sample display existing page on start
[wxWidgets.git] / contrib / src / applet / plugin.cpp
index 9802ce799144cc906f0506049714f357171db4e9..2e67780b9874bf0735582f7793deb7353b55c394 100644 (file)
@@ -26,9 +26,6 @@
 *
 ****************************************************************************/
 
-// For compilers that support precompilation
-#include "wx/wxprec.h"
-
 // Include private headers
 #include "wx/applet/plugin.h"
 #include "wx/applet/window.h"
@@ -36,7 +33,7 @@
 /*------------------------- Implementation --------------------------------*/
 
 // Implement the abstract class functions
-IMPLEMENT_ABSTRACT_CLASS(wxPlugIn, wxObject);
+IMPLEMENT_ABSTRACT_CLASS(wxPlugIn, wxEvtHandler);
 
 /****************************************************************************
 REMARKS:
@@ -57,4 +54,12 @@ wxPlugIn::~wxPlugIn()
 {
 }
 
+/****************************************************************************
+REMARKS:
+Destructor for the wxPlugIn class.
+****************************************************************************/
+void wxPlugIn::Run(
+    const wxString& WXUNUSED(cmdLine))
+{
+}