bool CanGetPageSource() { return false; }
wxString GetPageSource() { return wxEmptyString; }
void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {}
+ wxString GetPageURL() { return wxEmptyString; }
+ wxString GetPageTitle() { return wxEmptyString; }
};
wxWEBKIT_STATE_TRANSFERRING = 0,
wxWEBKIT_STATE_STOP = 0,
wxWEBKIT_STATE_FAILED = 0,
+
+ wxEVT_WEBKIT_STATE_CHANGED = 0
};
class wxWebKitStateChangedEvent : public wxCommandEvent
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) {}
#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);
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxPyWebKitNameStr);
- %name(PreWebKitCtrl)wxWebKitCtrl();
+ %RenameCtor(PreWebKitCtrl, wxWebKitCtrl());
bool Create(wxWindow *parent,
bool CanGetPageSource();
wxString GetPageSource();
void SetPageSource(wxString& source, const wxString& baseUrl = wxPyEmptyString);
+ wxString GetPageURL();
+ wxString GetPageTitle();
};