Rename wxWebNavigationError to wxWebViewNavigationError and wxWebNavigationEvent to wxWebViewEvent. This makes the names more consistent with other parts of wxWidgets.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-08-15 11:03:26 +00:00
parent 9f72fa7c2d
commit 04fa04d806
7 changed files with 135 additions and 138 deletions

View File

@@ -37,7 +37,7 @@ enum wxWebViewZoomType
/**
Types of errors that can cause navigation to fail
*/
enum wxWebNavigationError
enum wxWebViewNavigationError
{
/** Connection error (timeout, etc.) */
wxWEB_NAV_ERR_CONNECTION,
@@ -211,7 +211,7 @@ public:
standard @c file syntax as well as paths to archives of the form
@c file:///C:/exmaple/docs.zip;protocol=zip/main.htm
@beginEventEmissionTable{wxWebNavigationEvent}
@beginEventEmissionTable{wxWebViewEvent}
@event{EVT_WEB_VIEW_NAVIGATING(id, func)}
Process a @c wxEVT_COMMAND_WEB_VIEW_NAVIGATING event, generated before trying
to get a resource. This event may be vetoed to prevent navigating to this
@@ -243,7 +243,7 @@ public:
@library{wxweb}
@category{ctrl,web}
@see wxWebHandler, wxWebNavigationEvent
@see wxWebHandler, wxWebViewEvent
*/
class wxWebView : public wxControl
{
@@ -586,12 +586,12 @@ public:
/**
@class wxWebNavigationEvent
@class wxWebViewEvent
A navigation event holds information about events associated with
wxWebView objects.
@beginEventEmissionTable{wxWebNavigationEvent}
@beginEventEmissionTable{wxWebViewEvent}
@event{EVT_WEB_VIEW_NAVIGATING(id, func)}
Process a @c wxEVT_COMMAND_WEB_VIEW_NAVIGATING event, generated before trying
to get a resource. This event may be vetoed to prevent navigating to this
@@ -626,12 +626,12 @@ public:
@see wxWebView
*/
class wxWebNavigationEvent : public wxCommandEvent
class wxWebViewEvent : public wxCommandEvent
{
public:
wxWebNavigationEvent();
wxWebNavigationEvent(wxEventType type, int id, const wxString href,
const wxString target, bool canVeto);
wxWebViewEvent();
wxWebViewEvent(wxEventType type, int id, const wxString href,
const wxString target, bool canVeto);
/**
Get the name of the target frame which the url of this event