]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/pipe.h
added wxTE_BESTWRAP style (which is the default now); renamed wxTE_LINEWRAP to wxTE_C...
[wxWidgets.git] / include / wx / unix / pipe.h
index a3a8e6e7a376a9a968b19ba13d475ab4a86d869b..356ee9d394e55a45d14fb537998fa4a2939d871e 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     24.06.2003 (extracted from src/unix/utilsunx.cpp)
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 Vadim Zeitlin <vadim@wxwidgets.org>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIX_PIPE_H_
@@ -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