]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/gsocket.cpp
don't use deprecate SetClippingRegion(wxRegion)
[wxWidgets.git] / src / msw / gsocket.cpp
index 18d83b0434af3025c983ffa98d3e03d0a2250a7a..8cc501a98ecf917a8cabb42a2dbaa29591ee69a4 100644 (file)
@@ -58,6 +58,9 @@
 #if wxUSE_SOCKETS
 
 #include "wx/gsocket.h"
+#include "wx/link.h"
+
+wxFORCE_LINK_MODULE(gsockmsw)
 
 #ifdef __WXWINCE__
 #ifndef isdigit
@@ -1462,7 +1465,7 @@ GSocketError GAddress_INET6_SetPortName(GAddress *address, const char *port,
   se = getservbyname(port, protocol);
   if (!se)
   {
-    if (isdigit(port[0]))
+    if (isdigit((unsigned char) port[0]))
     {
       int port_int;