From fa5d9d2006cf19bedac704dce79a0ea40c1e060c Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Fri, 22 Apr 2011 10:43:47 +0000 Subject: [PATCH] Fixed wxUSE_STD_STRING==0 compilation. With at least MSVC9 numformatter.cpp wouldn't compile because of unknown identifiers related to locales. Include in case wxUSE_STD_STRING is set to 0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/numformatter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/numformatter.cpp b/src/common/numformatter.cpp index e89a7cd240..7b110abc18 100644 --- a/src/common/numformatter.cpp +++ b/src/common/numformatter.cpp @@ -21,6 +21,10 @@ #include "wx/numformatter.h" #include "wx/intl.h" +#if !wxUSE_STD_STRING + #include // for setlocale and LC_ALL +#endif + // ---------------------------------------------------------------------------- // local helpers // ---------------------------------------------------------------------------- -- 2.47.2