]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/applet/loadpage.cpp
fixed compile errors
[wxWidgets.git] / contrib / src / applet / loadpage.cpp
index 32f8af20c4fd4dcf7e5adf7ecefa7ef4cd83611a..705a2e4a61faed62a4f33a1fbb7f282524a037ec 100644 (file)
 *
 ****************************************************************************/
 
-// For compilers that support precompilation
-#include "wx/wxprec.h"
-#include "wx/html/forcelnk.h"
-
 // Include private headers
 #include "wx/applet/loadpage.h"
 
+// wxWindows forcelink macro
+#include "wx/html/forcelnk.h"
+
 /*------------------------- Implementation --------------------------------*/
 
 // Implement the class functions for wxLoadPageEvent
@@ -59,20 +58,6 @@ wxLoadPageEvent::wxLoadPageEvent(
     m_eventType = wxEVT_LOAD_PAGE;
 }
 
-/****************************************************************************
-REMARKS:
-Function to copy the wxLoadPageEvent object
-****************************************************************************/
-void wxLoadPageEvent::CopyObject(
-    wxObject& obj_d) const
-{
-    wxLoadPageEvent *obj = (wxLoadPageEvent*)&obj_d;
-    wxEvent::CopyObject(obj_d);
-    obj->m_hRef         = m_hRef;
-    obj->m_htmlWindow   = m_htmlWindow;
-}
-
-
 /****************************************************************************
 REMARKS:
 Constructor for the wxPageLoadedEvent class
@@ -82,17 +67,6 @@ wxPageLoadedEvent::wxPageLoadedEvent()
     m_eventType = wxEVT_LOAD_PAGE;
 }
 
-/****************************************************************************
-REMARKS:
-Function to copy the wxPageLoadedEvent object
-****************************************************************************/
-void wxPageLoadedEvent::CopyObject(
-    wxObject& obj_d) const
-{
-    wxPageLoadedEvent *obj = (wxPageLoadedEvent*)&obj_d;
-    wxEvent::CopyObject(obj_d);
-}
-
 // This is out little force link hack
 FORCE_LINK_ME(loadpage)