+%constant wxEventType wxEVT_WEBKIT_BEFORE_LOAD;
+
+class wxWebKitBeforeLoadEvent : public wxCommandEvent
+{
+public:
+ bool IsCancelled();
+ void Cancel(bool cancel = true);
+ wxString GetURL();
+ void SetURL(const wxString& url);
+ void SetNavigationType(int navType);
+ int GetNavigationType();
+
+ wxWebKitBeforeLoadEvent( wxWindow* win = (wxWindow*) NULL );
+
+ %property(NavigationType, GetNavigationType, SetNavigationType, doc="See `GetNavigationType` and `SetNavigationType`");
+ %property(URL, GetURL, SetURL, doc="See `GetURL` and `SetURL`");
+};