From 61f24aea1690e0baafaa08b470172558d7ce569a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 22 Mar 2009 15:30:15 +0000 Subject: [PATCH] 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 --- src/common/fontcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.45.2