]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/pipe.h
wxHelpController now wxCHMHelpController on Windows
[wxWidgets.git] / include / wx / unix / pipe.h
index 33f6b40f7934bbe09aa9eb25f2eed517bb705bf6..356ee9d394e55a45d14fb537998fa4a2939d871e 100644 (file)
@@ -28,8 +28,7 @@ public:
     enum Direction
     {
         Read,
     enum Direction
     {
         Read,
-        Write,
-        Direction_Max
+        Write
     };
 
     enum
     };
 
     enum
@@ -83,7 +82,7 @@ public:
     ~wxPipe() { Close(); }
 
 private:
     ~wxPipe() { Close(); }
 
 private:
-    int m_fds[Direction_Max];
+    int m_fds[2];
 };
 
 #if wxUSE_STREAMS
 };
 
 #if wxUSE_STREAMS