]> git.saurik.com Git - wxWidgets.git/commitdiff
Give wxEVT_WEBKIT_STATE_CHANGED a dummy value too.
authorRobin Dunn <robin@alldunn.com>
Tue, 19 Oct 2004 21:48:08 +0000 (21:48 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 19 Oct 2004 21:48:08 +0000 (21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/webkit.i

index 88cc4ce9b1e762f241828187c0ebb9beec7eab17..92eb49e72c57f0d70e1ce8ecd2b2fb14735df5a9 100644 (file)
@@ -96,6 +96,8 @@ enum {
     wxWEBKIT_STATE_TRANSFERRING = 0,
     wxWEBKIT_STATE_STOP = 0,
     wxWEBKIT_STATE_FAILED = 0,
+
+    wxEVT_WEBKIT_STATE_CHANGED = 0
 };
 
 class wxWebKitStateChangedEvent : public wxCommandEvent
@@ -104,7 +106,7 @@ public:
     wxWebKitStateChangedEvent( wxWindow* win =  NULL )
     { wxPyRaiseNotImplemented(); }
 
-    int GetState() { return 0 }
+    int GetState() { return 0; }
     void SetState(const int state) {}
     wxString GetURL() { return wxEmptyString; }
     void SetURL(const wxString& url) {}