* wxMemoryStreams updates
* Various fixes about wxGTK and Unicode * Various fixes in wxStreams git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -194,8 +194,9 @@ void wxDataOutputStream::Write8(wxUint8 i)
|
||||
|
||||
void wxDataOutputStream::WriteString(const wxString& string)
|
||||
{
|
||||
const wxWX2MBbuf buf = string.mb_str();
|
||||
Write32(string.Length());
|
||||
m_output->Write((const wxChar *) string, string.Length()*sizeof(wxChar));
|
||||
m_output->Write(buf, string.Len());
|
||||
}
|
||||
|
||||
// Must be at global scope for VC++ 5
|
||||
|
Reference in New Issue
Block a user