Rename GetHref to GetURL in wxWebNavigationEvent, this brings it into line with the other functions in wxWebView.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-07-25 14:30:07 +00:00
parent b236f090ed
commit e40741b95c
3 changed files with 17 additions and 16 deletions

View File

@@ -339,11 +339,11 @@ class WXDLLIMPEXP_WEB wxWebNavigationEvent : public wxCommandEvent
{
public:
wxWebNavigationEvent() {}
wxWebNavigationEvent(wxEventType type, int id, const wxString href,
wxWebNavigationEvent(wxEventType type, int id, const wxString url,
const wxString target, bool canVeto)
: wxCommandEvent(type, id)
{
m_href = href;
m_url = url;
m_target = target;
m_vetoed = false;
m_canVeto = canVeto;
@@ -352,7 +352,7 @@ public:
/**
* Get the URL being visited
*/
const wxString& GetHref() const { return m_href; }
const wxString& GetURL() const { return m_url; }
/**
* Get the target (frame or window) in which the URL that caused this event
@@ -379,7 +379,7 @@ public:
void Veto() { wxASSERT(m_canVeto); m_vetoed = true; }
private:
wxString m_href;
wxString m_url;
wxString m_target;
bool m_canVeto;
bool m_vetoed;