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

@@ -29,7 +29,7 @@ class WXDLLIMPEXP_FWD_NET wxProtocolLog;
// constants
// ----------------------------------------------------------------------------
typedef enum
enum wxProtocolError
{
wxPROTO_NOERR = 0,
wxPROTO_NETERR,
@@ -41,7 +41,7 @@ typedef enum
wxPROTO_ABRT,
wxPROTO_RCNCT,
wxPROTO_STREAMING
} wxProtocolError;
};
// ----------------------------------------------------------------------------
// wxProtocol: abstract base class for all protocols