From 5337ab1bb87eb9691d84e24471489808072ac9fd Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Thu, 19 Mar 2009 19:39:38 +0000 Subject: [PATCH] blind build fix for STL builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/xlocale.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/xlocale.cpp b/src/common/xlocale.cpp index b2b035aed1..05f7a5b7d3 100644 --- a/src/common/xlocale.cpp +++ b/src/common/xlocale.cpp @@ -134,21 +134,21 @@ void wxXLocale::Init(const char *loc) wxString buf(loc); wxString buf2; buf2 = buf + wxS(".UTF-8"); - m_locale = newlocale(LC_ALL_MASK, buf2, NULL); + m_locale = newlocale(LC_ALL_MASK, buf2.c_str(), NULL); if ( !m_locale ) { buf2 = buf + wxS(".utf-8"); - m_locale = newlocale(LC_ALL_MASK, buf2, NULL); + m_locale = newlocale(LC_ALL_MASK, buf2.c_str(), NULL); } if ( !m_locale ) { buf2 = buf + wxS(".UTF8"); - m_locale = newlocale(LC_ALL_MASK, buf2, NULL); + m_locale = newlocale(LC_ALL_MASK, buf2.c_str(), NULL); } if ( !m_locale ) { buf2 = buf + wxS(".utf8"); - m_locale = newlocale(LC_ALL_MASK, buf2, NULL); + m_locale = newlocale(LC_ALL_MASK, buf2.c_str(), NULL); } } -- 2.45.2