From 70554c327e505d39b23a945451b8d8e8897840d0 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Thu, 19 May 2011 19:42:01 +0000 Subject: [PATCH] Remove defined values from wxWebView enums. We probably don't want people relying on these as they may well end up changing and there is no benefit to fixing them. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/webview.h | 18 +++++++++--------- interface/wx/webview.h | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/include/wx/webview.h b/include/wx/webview.h index 0382d5050f..28d0b5b141 100644 --- a/include/wx/webview.h +++ b/include/wx/webview.h @@ -46,29 +46,29 @@ enum wxWebViewZoomType enum wxWebNavigationError { /** Connection error (timeout, etc.) */ - wxWEB_NAV_ERR_CONNECTION = 1, + wxWEB_NAV_ERR_CONNECTION, /** Invalid certificate */ - wxWEB_NAV_ERR_CERTIFICATE = 2, + wxWEB_NAV_ERR_CERTIFICATE, /** Authentication required */ - wxWEB_NAV_ERR_AUTH = 3, + wxWEB_NAV_ERR_AUTH, /** Other security error */ - wxWEB_NAV_ERR_SECURITY = 4, + wxWEB_NAV_ERR_SECURITY, /** Requested resource not found */ - wxWEB_NAV_ERR_NOT_FOUND = 5, + wxWEB_NAV_ERR_NOT_FOUND, /** Invalid request/parameters (e.g. bad URL, bad protocol, * unsupported resource type) */ - wxWEB_NAV_ERR_REQUEST = 6, + wxWEB_NAV_ERR_REQUEST, /** The user cancelled (e.g. in a dialog) */ - wxWEB_NAV_ERR_USER_CANCELLED = 7, + wxWEB_NAV_ERR_USER_CANCELLED, /** Another (exotic) type of error that didn't fit in other categories*/ - wxWEB_NAV_ERR_OTHER = 8 + wxWEB_NAV_ERR_OTHER }; /** Type of refresh */ enum wxWebViewReloadFlags { /** Default reload, will access cache */ - wxWEB_VIEW_RELOAD_DEFAULT = 0, + wxWEB_VIEW_RELOAD_DEFAULT, /** Reload the current view without accessing the cache */ wxWEB_VIEW_RELOAD_NO_CACHE }; diff --git a/interface/wx/webview.h b/interface/wx/webview.h index b3f47cc133..aec5aac7fe 100644 --- a/interface/wx/webview.h +++ b/interface/wx/webview.h @@ -40,22 +40,22 @@ enum wxWebViewZoomType enum wxWebNavigationError { /** Connection error (timeout, etc.) */ - wxWEB_NAV_ERR_CONNECTION = 1, + wxWEB_NAV_ERR_CONNECTION, /** Invalid certificate */ - wxWEB_NAV_ERR_CERTIFICATE = 2, + wxWEB_NAV_ERR_CERTIFICATE, /** Authentication required */ - wxWEB_NAV_ERR_AUTH = 3, + wxWEB_NAV_ERR_AUTH, /** Other security error */ - wxWEB_NAV_ERR_SECURITY = 4, + wxWEB_NAV_ERR_SECURITY, /** Requested resource not found */ - wxWEB_NAV_ERR_NOT_FOUND = 5, + wxWEB_NAV_ERR_NOT_FOUND, /** Invalid request/parameters (e.g. bad URL, bad protocol, unsupported resource type) */ - wxWEB_NAV_ERR_REQUEST = 6, + wxWEB_NAV_ERR_REQUEST, /** The user cancelled (e.g. in a dialog) */ - wxWEB_NAV_ERR_USER_CANCELLED = 7, + wxWEB_NAV_ERR_USER_CANCELLED, /** Another (exotic) type of error that didn't fit in other categories*/ - wxWEB_NAV_ERR_OTHER = 8 + wxWEB_NAV_ERR_OTHER }; /** @@ -64,7 +64,7 @@ enum wxWebNavigationError enum wxWebViewReloadFlags { /** Default reload, will access cache */ - wxWEB_VIEW_RELOAD_DEFAULT = 0, + wxWEB_VIEW_RELOAD_DEFAULT, /** Reload the current view without accessing the cache */ wxWEB_VIEW_RELOAD_NO_CACHE }; -- 2.50.0