wxTextCtrl::GetValue() lost (replaced with question marks) all characters not in the current encoding -- but now it shouldn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -207,12 +207,13 @@ protected:
|
||||
// false if we hit the limit set by SetMaxLength() and so didn't change it
|
||||
bool AdjustSpaceLimit();
|
||||
|
||||
#if wxUSE_RICHEDIT
|
||||
#if wxUSE_RICHEDIT && (!wxUSE_UNICODE || wxUSE_UNICODE_MSLU)
|
||||
// replace the selection or the entire control contents with the given text
|
||||
// in the specified encoding
|
||||
bool StreamIn(const wxString& value,
|
||||
wxFontEncoding encoding,
|
||||
bool selOnly);
|
||||
bool StreamIn(const wxString& value, wxFontEncoding encoding, bool selOnly);
|
||||
|
||||
// get the contents of the control out as text in the given encoding
|
||||
wxString StreamOut(wxFontEncoding encoding, bool selOnly = false) const;
|
||||
#endif // wxUSE_RICHEDIT
|
||||
|
||||
// replace the contents of the selection or of the entire control with the
|
||||
|
Reference in New Issue
Block a user