X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27a97d02eb2f3dcf031c5cbcd3c1321c6d35fce8..ee3510132b8b4160f848bd4f502a6f5315f90dbc:/src/msw/gsockmsw.c diff --git a/src/msw/gsockmsw.c b/src/msw/gsockmsw.c index 60d54c682c..c966cfffc1 100644 --- a/src/msw/gsockmsw.c +++ b/src/msw/gsockmsw.c @@ -59,8 +59,8 @@ # pragma warning(default:4115) /* named type definition in parentheses */ #endif -#define CLASSNAME "_GSocket_Internal_Window_Class" -#define WINDOWNAME "_GSocket_Internal_Window_Name" +#define CLASSNAME TEXT("_GSocket_Internal_Window_Class") +#define WINDOWNAME TEXT("_GSocket_Internal_Window_Name") /* Maximum number of different GSocket objects at a given time. * This value can be modified at will, but it CANNOT be greater @@ -283,6 +283,6 @@ void _GSocket_Disable_Events(GSocket *socket) * Translation unit shouldn't be empty, so include this typedef to make the * compiler (VC++ 6.0, for example) happy */ -typedef (*wxDummy)(); +typedef void (*wxDummy)(); #endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */