From f32204b0c4c4cc5069ff41088dcbb5bc23a85b34 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Fri, 13 May 2011 11:24:28 +0000 Subject: [PATCH] Fixed wxUSE_STD_DEFAULT==0 compilation. ScintillaWX.cpp didn't compile because std::string is unknown. Include in case the defines that (by default) are set to wxUSE_STD_DEFAULT are 0. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/stc/ScintillaWX.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stc/ScintillaWX.cpp b/src/stc/ScintillaWX.cpp index 11de4291e3..4c45692de7 100644 --- a/src/stc/ScintillaWX.cpp +++ b/src/stc/ScintillaWX.cpp @@ -34,6 +34,12 @@ #include "wx/clipbrd.h" #include "wx/dnd.h" +#if !wxUSE_STD_CONTAINERS && !wxUSE_STD_IOSTREAM && !wxUSE_STD_STRING + #include "wx/beforestd.h" + #include + #include "wx/afterstd.h" +#endif + #include "ScintillaWX.h" #include "ExternalLexer.h" #include "wx/stc/stc.h" -- 2.45.2