]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/string.cpp
Applied patch to show title bar changes
[wxWidgets.git] / src / common / string.cpp
index eb2d9d442d3147a0cc61cd364133607daa4a62f1..c638d436ec01b694091847680a5dd35decc55f7d 100644 (file)
@@ -1118,7 +1118,7 @@ wxString::wxString(const wchar_t *pwz, wxMBConv& conv, size_t nLength)
 
             //Do the actual conversion & Set the length of the buffer
             internalBuffer.SetLength(
-                   conv.WC2MB(*this, pwz, dwConvLen + 1, nLen)
+                   conv.WC2MB(internalBuffer, pwz, dwConvLen + 1, nLen)
                                     );
         }
     }