Added interface for getting/setting text converter of wxDataInputStream and wxDataOutputStream

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2009-01-11 19:37:11 +00:00
parent daeb4e4d4c
commit 10c2f98a39
3 changed files with 49 additions and 0 deletions

View File

@@ -45,6 +45,14 @@ wxDataInputStream::~wxDataInputStream()
#endif // wxUSE_UNICODE
}
#if wxUSE_UNICODE
void wxDataInputStream::SetConv( const wxMBConv &conv )
{
delete m_conv;
m_conv = conv.Clone();
}
#endif
#if wxHAS_INT64
wxUint64 wxDataInputStream::Read64()
{
@@ -473,6 +481,14 @@ wxDataOutputStream::~wxDataOutputStream()
#endif // wxUSE_UNICODE
}
#if wxUSE_UNICODE
void wxDataOutputStream::SetConv( const wxMBConv &conv )
{
delete m_conv;
m_conv = conv.Clone();
}
#endif
#if wxHAS_INT64
void wxDataOutputStream::Write64(wxUint64 i)
{