Use enums, not typedef enums, in all public headers.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user