X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9cbcdd28830f7b8af7e5125bd922e14345b3c8..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/webkit.i diff --git a/wxPython/src/webkit.i b/wxPython/src/webkit.i index 88cc4ce9b1..33fa36f09e 100644 --- a/wxPython/src/webkit.i +++ b/wxPython/src/webkit.i @@ -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) {} @@ -114,7 +116,7 @@ public: #endif %} -// Now define it for SWIG, usign either the real class or the dummy above. +// Now define it for SWIG, using either the real class or the dummy above. MustHaveApp(wxWebKitCtrl); @@ -132,7 +134,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyWebKitNameStr); - %name(PreWebKitCtrl)wxWebKitCtrl(); + %RenameCtor(PreWebKitCtrl, wxWebKitCtrl()); bool Create(wxWindow *parent,