]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxUSE_STD_DEFAULT==0 compilation.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 13 May 2011 11:24:28 +0000 (11:24 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Fri, 13 May 2011 11:24:28 +0000 (11:24 +0000)
ScintillaWX.cpp didn't compile because std::string is unknown. Include <string> 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

index 11de4291e345d13b652c11a44bccdd1a505c35b6..4c45692de71eb5e46c10f318741cb7eace29f5b6 100644 (file)
 #include "wx/clipbrd.h"
 #include "wx/dnd.h"
 
+#if !wxUSE_STD_CONTAINERS && !wxUSE_STD_IOSTREAM && !wxUSE_STD_STRING
+    #include "wx/beforestd.h"
+    #include <string>
+    #include "wx/afterstd.h"
+#endif
+
 #include "ScintillaWX.h"
 #include "ExternalLexer.h"
 #include "wx/stc/stc.h"