]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unix/pipe.h
wxMDIChildFrame::Maximize() should have default value for its argument just as wxFram...
[wxWidgets.git] / 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