]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove defined values from wxWebView enums. We probably don't want people relying...
authorSteve Lamerton <steve.lamerton@gmail.com>
Thu, 19 May 2011 19:42:01 +0000 (19:42 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Thu, 19 May 2011 19:42:01 +0000 (19:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/webview.h
interface/wx/webview.h

index 0382d5050f9ab9f15a659a035f0caec6723801aa..28d0b5b14164ea0521dd2a5d723196457010bfaf 100644 (file)
@@ -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 
 };
index b3f47cc13316cae0ffa74ab37003c14e4749897b..aec5aac7feea3298ac7a6b1c7576981e51a1199e 100644 (file)
@@ -40,22 +40,22 @@ enum wxWebViewZoomType
 enum wxWebNavigationError\r
 {\r
     /** Connection error (timeout, etc.) */\r
-    wxWEB_NAV_ERR_CONNECTION = 1,\r
+    wxWEB_NAV_ERR_CONNECTION,\r
     /** Invalid certificate */\r
-    wxWEB_NAV_ERR_CERTIFICATE = 2,\r
+    wxWEB_NAV_ERR_CERTIFICATE,\r
     /** Authentication required */\r
-    wxWEB_NAV_ERR_AUTH = 3,\r
+    wxWEB_NAV_ERR_AUTH,\r
     /** Other security error */\r
-    wxWEB_NAV_ERR_SECURITY = 4,\r
+    wxWEB_NAV_ERR_SECURITY,\r
     /** Requested resource not found */\r
-    wxWEB_NAV_ERR_NOT_FOUND = 5,\r
+    wxWEB_NAV_ERR_NOT_FOUND,\r
     /** Invalid request/parameters (e.g. bad URL, bad protocol,\r
         unsupported resource type) */\r
-    wxWEB_NAV_ERR_REQUEST = 6,\r
+    wxWEB_NAV_ERR_REQUEST,\r
     /** The user cancelled (e.g. in a dialog) */\r
-    wxWEB_NAV_ERR_USER_CANCELLED = 7,\r
+    wxWEB_NAV_ERR_USER_CANCELLED,\r
     /** Another (exotic) type of error that didn't fit in other categories*/\r
-    wxWEB_NAV_ERR_OTHER = 8\r
+    wxWEB_NAV_ERR_OTHER\r
 };\r
 \r
 /** \r
@@ -64,7 +64,7 @@ enum wxWebNavigationError
 enum wxWebViewReloadFlags\r
 {\r
     /** Default reload, will access cache */\r
-    wxWEB_VIEW_RELOAD_DEFAULT = 0,\r
+    wxWEB_VIEW_RELOAD_DEFAULT,\r
     /** Reload the current view without accessing the cache */\r
     wxWEB_VIEW_RELOAD_NO_CACHE \r
 };\r