We need a char, not wxChar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8d8fbb9d1b
commit
91cf52cec2
@ -706,7 +706,7 @@ bool wxVariantDataChar::Read(wxInputStream& str)
|
||||
|
||||
bool wxVariantDataChar::Read(wxString& str)
|
||||
{
|
||||
m_value = str[(size_t)0];
|
||||
m_value = str.ToAscii()[0u];
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user