From 91cf52cec24b970f9b031d4d88ba891aac678e9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 5 Nov 2004 20:45:23 +0000 Subject: [PATCH] We need a char, not wxChar. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/variant.cpp b/src/common/variant.cpp index 86602e25d3..6df6999ab1 100644 --- a/src/common/variant.cpp +++ b/src/common/variant.cpp @@ -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; } -- 2.45.2