X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0576cd9ebe3430bdf7acf69e1dd1df92273f32ad..75ded4d17344618afd302a0671f1277791ee17ed:/include/wx/protocol/protocol.h?ds=sidebyside diff --git a/include/wx/protocol/protocol.h b/include/wx/protocol/protocol.h index aaf3a63bf9..f61de27e7c 100644 --- a/include/wx/protocol/protocol.h +++ b/include/wx/protocol/protocol.h @@ -141,14 +141,14 @@ public: \ static wxProtoInfo g_proto_##class; #define IMPLEMENT_PROTOCOL(class, name, serv, host) \ -wxProtoInfo class::g_proto_##class(name, serv, host, CLASSINFO(class)); \ -bool wxProtocolUse##class = TRUE; +wxProtoInfo class::g_proto_##class(name, serv, host, wxCLASSINFO(class)); \ +bool wxProtocolUse##class = true; #define USE_PROTOCOL(class) \ extern bool wxProtocolUse##class ; \ static struct wxProtocolUserFor##class \ { \ - wxProtocolUserFor##class() { wxProtocolUse##class = TRUE; } \ + wxProtocolUserFor##class() { wxProtocolUse##class = true; } \ } wxProtocolDoUse##class; class WXDLLIMPEXP_NET wxProtoInfo : public wxObject