]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gsockmsw.h
Fixed bug #1163384. Moved the code that handles activating the cell
[wxWidgets.git] / include / wx / msw / gsockmsw.h
index ea9a40bd1b610021be20da1ffcb3756bb2fcf961..346a23c4c1335be8b84b483f1dcacaba493de408 100644 (file)
 
 #include "wx/msw/wrapwin.h"
 
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#ifndef FALSE
-#define FALSE 0
+#if defined(__WXWINCE__)
+#include <winsock.h>
 #endif
 
 class GSocketGUIFunctionsTableConcrete: public GSocketGUIFunctionsTable
@@ -58,7 +54,7 @@ public:
   GAddress *GetPeer();
   GSocketError SetServer();
   GSocket *WaitConnection();
-  int SetReusable();
+  bool SetReusable();
   GSocketError Connect(GSocketStream stream);
   GSocketError SetNonOriented();
   int Read(char *buffer, int size);
@@ -92,11 +88,11 @@ public:
   GSocketError m_error;
 
   /* Attributes */
-  int m_non_blocking;
-  int m_server;
-  int m_stream;
-  int m_establishing;
-  int m_reusable;
+  bool m_non_blocking;
+  bool m_server;
+  bool m_stream;
+  bool m_establishing;
+  bool m_reusable;
   struct timeval m_timeout;
 
   /* Callbacks */