X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/716cd4107bb8a5f37dea34507453be6870aaef3a..c25b742aec59fd4b141fd6b355713a6427451b07:/contrib/src/applet/loadpage.cpp diff --git a/contrib/src/applet/loadpage.cpp b/contrib/src/applet/loadpage.cpp index 32f8af20c4..705a2e4a61 100644 --- a/contrib/src/applet/loadpage.cpp +++ b/contrib/src/applet/loadpage.cpp @@ -26,13 +26,12 @@ * ****************************************************************************/ -// 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)