]> 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 aa0f59f4bc45ed9d1a48cf374ec8c1da62d500e3..356ee9d394e55a45d14fb537998fa4a2939d871e 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     24.06.2003 (extracted from src/unix/utilsunx.cpp)
 // RCS-ID:      $Id$
-// Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
+// Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -28,8 +28,7 @@ public:
     enum Direction
     {
         Read,
-        Write,
-        Direction_Max
+        Write
     };
 
     enum
@@ -83,7 +82,7 @@ public:
     ~wxPipe() { Close(); }
 
 private:
-    int m_fds[Direction_Max];
+    int m_fds[2];
 };
 
 #if wxUSE_STREAMS