]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
fixed bug with not taking background colour into account introduced in 1.24
[wxWidgets.git] / src / common / strconv.cpp
index f92260934f525674dfd2de9a4e8f42fdc6a97465..92b18ad615587ce6388e95d492c5e790c15f10fb 100644 (file)
@@ -179,7 +179,7 @@ wxMBConv::ToWChar(wchar_t *dst, size_t dstLen,
     size_t dstWritten = 0;
 
     // the number of NULs terminating this string
     size_t dstWritten = 0;
 
     // the number of NULs terminating this string
-    size_t nulLen wxDUMMY_INITIALIZE(0);
+    size_t nulLen = 0;  // not really needed, but just to avoid warnings
 
     // if we were not given the input size we just have to assume that the
     // string is properly terminated as we have no way of knowing how long it
 
     // if we were not given the input size we just have to assume that the
     // string is properly terminated as we have no way of knowing how long it