]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for STL build after the last change
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 15:30:15 +0000 (15:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Mar 2009 15:30:15 +0000 (15:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fontcmn.cpp

index cd65471ef36a7d502117d14c36d4f03bb52a165d..3b8b7fd80e12d07c0f09229b2b197f222a6326e5 100644 (file)
@@ -67,7 +67,7 @@ extern const char *wxDumpFont(const wxFont *font)
              font->GetPointSize(),
              font->GetEncoding());
 
              font->GetPointSize(),
              font->GetEncoding());
 
-    wxStrlcpy(buf, s, WXSIZEOF(buf));
+    wxStrlcpy(buf, s.mb_str(), WXSIZEOF(buf));
     return buf;
 }
 
     return buf;
 }