modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones (closes #10144)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-03-23 10:59:40 +00:00
parent 78f2eafcb6
commit 36f062d3da
3 changed files with 15 additions and 5 deletions

View File

@@ -1214,7 +1214,7 @@ template <typename T>
wxStreamBuffer *
CreateBufferIfNeeded(T& stream, wxStreamBuffer *buffer, size_t bufsize = 1024)
{
return buffer ? buffer : new wxStreamBuffer(stream, bufsize);
return buffer ? buffer : new wxStreamBuffer(bufsize, stream);
}
} // anonymous namespace