]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/applet/loadpage.h
setter by ref for
[wxWidgets.git] / contrib / include / wx / applet / loadpage.h
index f20cd0c3fef2006ff0fc5d1511cc37e327397da2..4be49c0dc9a62ba72348d5704792afe9e6f2199f 100644 (file)
@@ -68,14 +68,15 @@ public:
             // Destructor
             ~wxLoadPageEvent() {}
 
+            // Clone Virtual
+            virtual wxEvent *Clone() const { return new wxLoadPageEvent(m_hRef, m_htmlWindow); }
+
             // Return the hmtl window for the load page operation
             wxHtmlAppletWindow  *GetHtmlWindow() { return m_htmlWindow; };
 
             // Get the hRef string for the load page operation
             const wxString & GetHRef() { return m_hRef; };
 
-            // Copy constructor for the object
-            void CopyObject(wxObject& obj) const;
     };
 
 
@@ -97,8 +98,10 @@ public:
             // Destructor
             ~wxPageLoadedEvent() {}
 
-            // Copy constructor for the object
-            void CopyObject(wxObject& obj) const;
+            // Clone Virtual
+            virtual wxEvent *Clone() const {
+                return new wxPageLoadedEvent(); }
+
     };
 
 // Define the macro to create our event type