]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/applet/loadpage.cpp
correct access for virtuals
[wxWidgets.git] / contrib / src / applet / loadpage.cpp
CommitLineData
716cd410
KB
1/****************************************************************************
2*
3* wxWindows HTML Applet Package
4*
5* Copyright (C) 1991-2001 SciTech Software, Inc.
6* All rights reserved.
7*
8* ========================================================================
9*
10* The contents of this file are subject to the wxWindows License
11* Version 3.0 (the "License"); you may not use this file except in
12* compliance with the License. You may obtain a copy of the License at
13* http://www.wxwindows.org/licence3.txt
14*
15* Software distributed under the License is distributed on an
16* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
17* implied. See the License for the specific language governing
18* rights and limitations under the License.
19*
20* ========================================================================
21*
22* Language: ANSI C++
23* Environment: Any
24*
25* Description: Loadpage event class implementation
26*
27****************************************************************************/
28
716cd410
KB
29// Include private headers
30#include "wx/applet/loadpage.h"
31
574c939e
KB
32// wxWindows forcelink macro
33#include "wx/html/forcelnk.h"
34
716cd410
KB
35/*------------------------- Implementation --------------------------------*/
36
37// Implement the class functions for wxLoadPageEvent
38IMPLEMENT_DYNAMIC_CLASS(wxLoadPageEvent, wxEvent)
39
40// Implement the class functions for wxPageLoadedEvent
41IMPLEMENT_DYNAMIC_CLASS(wxPageLoadedEvent, wxEvent)
42
43// Define our custom event ID for load page
412e0d47 44DEFINE_EVENT_TYPE(wxEVT_LOAD_PAGE)
716cd410
KB
45
46// Define our custom event ID for page loaded
412e0d47 47DEFINE_EVENT_TYPE(wxEVT_PAGE_LOADED)
716cd410
KB
48
49/****************************************************************************
50REMARKS:
51Constructor for the wxLoadPageEvent class
52****************************************************************************/
53wxLoadPageEvent::wxLoadPageEvent(
54 const wxString &hRef,
55 wxHtmlAppletWindow *htmlWindow)
56 : m_hRef(hRef), m_htmlWindow(htmlWindow)
57{
58 m_eventType = wxEVT_LOAD_PAGE;
59}
60
716cd410
KB
61/****************************************************************************
62REMARKS:
63Constructor for the wxPageLoadedEvent class
64****************************************************************************/
65wxPageLoadedEvent::wxPageLoadedEvent()
66{
67 m_eventType = wxEVT_LOAD_PAGE;
68}
69
716cd410
KB
70// This is out little force link hack
71FORCE_LINK_ME(loadpage)
72