]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/variant.cpp
Allow wx parents a chance to handle events fired by non-wx children. (i.e. wxActiveX...
[wxWidgets.git] / src / common / variant.cpp
index 58e7e327e72f4dad26bc1a8c0291dd337c5f06c7..b9139f68a92583ae971d49a855db7b6eb9b7e1ac 100644 (file)
@@ -706,7 +706,7 @@ bool wxVariantDataChar::Read(wxInputStream& str)
 
 bool wxVariantDataChar::Read(wxString& str)
 {
-    m_value = str.ToAscii()[0u];
+    m_value = str.ToAscii()[size_t(0)];
     return true;
 }