From: Vadim Zeitlin Date: Sun, 22 Mar 2009 15:30:15 +0000 (+0000) Subject: compilation fix for STL build after the last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/61f24aea1690e0baafaa08b470172558d7ce569a?ds=inline compilation fix for STL build after the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index cd65471ef3..3b8b7fd80e 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -67,7 +67,7 @@ extern const char *wxDumpFont(const wxFont *font) font->GetPointSize(), font->GetEncoding()); - wxStrlcpy(buf, s, WXSIZEOF(buf)); + wxStrlcpy(buf, s.mb_str(), WXSIZEOF(buf)); return buf; }