X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d00d250f1d8ba62309ded1449afad796133587d..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/webkit.i diff --git a/wxPython/src/webkit.i b/wxPython/src/webkit.i index 92eb49e72c..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; } }; @@ -116,7 +118,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); @@ -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(); };