]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/stream.h
Allow calling wxStrchr() with a narrow string and wide character.
[wxWidgets.git] / include / wx / stream.h
index c2cb838f922a6ae689cfe900d8fce8bf0fc42edf..9119658421f46abac4b57c6de3087b989ef94eaf 100644 (file)
@@ -421,13 +421,13 @@ public:
         InitWithStream(stream, mode);
     }
 
-    wxStreamBuffer(wxInputStream& stream, size_t bufsize)
+    wxStreamBuffer(size_t bufsize, wxInputStream& stream)
     {
         InitWithStream(stream, read);
         SetBufferIO(bufsize);
     }
 
-    wxStreamBuffer(wxOutputStream& stream, size_t bufsize)
+    wxStreamBuffer(size_t bufsize, wxOutputStream& stream)
     {
         InitWithStream(stream, write);
         SetBufferIO(bufsize);