Default to wxConvUTF8 (not wxConvAuto) in wxDataInputStream and wxDataOutputStream (as the text in the docs actually already claimed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
10c2f98a39
commit
107ea8f069
@ -22,7 +22,7 @@ class WXDLLIMPEXP_BASE wxDataInputStream
|
||||
{
|
||||
public:
|
||||
#if wxUSE_UNICODE
|
||||
wxDataInputStream(wxInputStream& s, const wxMBConv& conv = wxConvAuto());
|
||||
wxDataInputStream(wxInputStream& s, const wxMBConv& conv = wxConvUTF8 );
|
||||
#else
|
||||
wxDataInputStream(wxInputStream& s);
|
||||
#endif
|
||||
@ -98,7 +98,7 @@ class WXDLLIMPEXP_BASE wxDataOutputStream
|
||||
{
|
||||
public:
|
||||
#if wxUSE_UNICODE
|
||||
wxDataOutputStream(wxOutputStream& s, const wxMBConv& conv = wxConvAuto());
|
||||
wxDataOutputStream(wxOutputStream& s, const wxMBConv& conv = wxConvUTF8 );
|
||||
#else
|
||||
wxDataOutputStream(wxOutputStream& s);
|
||||
#endif
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
instance! It is recommended to use the default value (UTF-8).
|
||||
*/
|
||||
wxDataOutputStream(wxOutputStream& stream,
|
||||
const wxMBConv& conv = wxConvAuto());
|
||||
const wxMBConv& conv = wxConvUTF8);
|
||||
|
||||
/**
|
||||
Destroys the wxDataOutputStream object.
|
||||
@ -190,7 +190,7 @@ public:
|
||||
instance!
|
||||
*/
|
||||
wxDataInputStream(wxInputStream& stream,
|
||||
const wxMBConv& conv = wxConvAuto());
|
||||
const wxMBConv& conv = wxConvUTF8 );
|
||||
|
||||
/**
|
||||
Destroys the wxDataInputStream object.
|
||||
|
Loading…
Reference in New Issue
Block a user