*
****************************************************************************/
-// 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
IMPLEMENT_DYNAMIC_CLASS(wxPageLoadedEvent, wxEvent)
// Define our custom event ID for load page
-DEFINE_EVENT_TYPE(wxEVT_LOAD_PAGE);
+DEFINE_EVENT_TYPE(wxEVT_LOAD_PAGE)
// Define our custom event ID for page loaded
-DEFINE_EVENT_TYPE(wxEVT_PAGE_LOADED);
+DEFINE_EVENT_TYPE(wxEVT_PAGE_LOADED)
/****************************************************************************
REMARKS:
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
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)