Use enums, not typedef enums, in all public headers.

This commit is contained in:
Lauri Nurmi
2016-02-07 01:11:25 +02:00
parent 859e31ca7f
commit 4281cb4daa
8 changed files with 32 additions and 32 deletions

View File

@@ -22,7 +22,7 @@
#include "wx/protocol/http.h"
#endif
typedef enum {
enum wxURLError {
wxURL_NOERR = 0,
wxURL_SNTXERR,
wxURL_NOPROTO,
@@ -30,7 +30,7 @@ typedef enum {
wxURL_NOPATH,
wxURL_CONNERR,
wxURL_PROTOERR
} wxURLError;
};
#if wxUSE_URL_NATIVE
class WXDLLIMPEXP_FWD_NET wxURL;