]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/gsockmsw.h
moved AppendAppName() from MSW to common code; modified it to not double the trailing...
[wxWidgets.git] / include / wx / msw / gsockmsw.h
index ea9a40bd1b610021be20da1ffcb3756bb2fcf961..90cc323e0f93566256a5dc4a54382f61769a7e7f 100644 (file)
 
 #include "wx/msw/wrapwin.h"
 
-#ifndef TRUE
-#define TRUE 1
-#endif
-
-#ifndef FALSE
-#define FALSE 0
-#endif
-
 class GSocketGUIFunctionsTableConcrete: public GSocketGUIFunctionsTable
 {
 public:
@@ -58,7 +50,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 +84,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 */