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:
@@ -706,7 +706,7 @@ bool wxVariantDataChar::Read(wxInputStream& str)
|
|||||||
|
|
||||||
bool wxVariantDataChar::Read(wxString& str)
|
bool wxVariantDataChar::Read(wxString& str)
|
||||||
{
|
{
|
||||||
m_value = str[(size_t)0];
|
m_value = str.ToAscii()[0u];
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user