]> git.saurik.com Git - wxWidgets.git/commitdiff
removed Direction_Max from Direction enum for consistency with the MSW version
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jun 2004 12:36:34 +0000 (12:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Jun 2004 12:36:34 +0000 (12:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unix/pipe.h

index 33f6b40f7934bbe09aa9eb25f2eed517bb705bf6..356ee9d394e55a45d14fb537998fa4a2939d871e 100644 (file)
@@ -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