X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7a2ebe671dd2243a1f63e61e9dcda19b691e9b7..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/src/webkit.i diff --git a/wxPython/src/webkit.i b/wxPython/src/webkit.i index 3b5aadf643..27037bbb46 100644 --- a/wxPython/src/webkit.i +++ b/wxPython/src/webkit.i @@ -86,6 +86,8 @@ public: bool CanGetPageSource() { return false; } wxString GetPageSource() { return wxEmptyString; } void SetPageSource(wxString& source, const wxString& baseUrl = wxEmptyString) {} + wxString GetPageURL() { return wxEmptyString; } + wxString GetPageTitle() { return wxEmptyString; } }; @@ -134,7 +136,7 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxPyWebKitNameStr); - %name(PreWebKitCtrl)wxWebKitCtrl(); + %RenameCtor(PreWebKitCtrl, wxWebKitCtrl()); bool Create(wxWindow *parent, @@ -156,6 +158,8 @@ public: bool CanGetPageSource(); wxString GetPageSource(); void SetPageSource(wxString& source, const wxString& baseUrl = wxPyEmptyString); + wxString GetPageURL(); + wxString GetPageTitle(); };