Fixed wxUSE_STD_STRING==0 compilation.

With at least MSVC9 numformatter.cpp wouldn't compile because of unknown identifiers related to locales. Include <locale.h> 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
This commit is contained in:
Dimitri Schoolwerth
2011-04-22 10:43:47 +00:00
parent 0f0c5856e0
commit fa5d9d2006

View File

@@ -21,6 +21,10 @@
#include "wx/numformatter.h"
#include "wx/intl.h"
#if !wxUSE_STD_STRING
#include <locale.h> // for setlocale and LC_ALL
#endif
// ----------------------------------------------------------------------------
// local helpers
// ----------------------------------------------------------------------------