Dear devs,
a new version of wxScintilla (1.66) is out. I realised that Code::Blocks is using this library. Within my current CVS version of Code::Blocks I have switched to this version nearly without any problems. I thought I share this experience with you.
The only thing I had to do (to get rid of a compiler error) was the following change in Platform.h:
#elif defined(__WX__)
#undef PLAT_WX
#define PLAT_WX 1
...i had to change into:
#elif defined(__WX__)
#undef PLAT_WX
#define PLAT_WX 1
#undef PLAT_WIN
#define PLAT_WIN 1
it's working quite well and stable for a while now, maybe it's worth switching to the new version.
With regards,
Morten.
I have also made some changes like this
diff -ruN wxscintilla/src/scintilla/src/ExternalLexer.h wxscintilla-new/src/scintilla/src/ExternalLexer.h
--- wxscintilla/src/scintilla/src/ExternalLexer.h Fri Nov 12 19:49:42 2004
+++ wxscintilla-new/src/scintilla/src/ExternalLexer.h Sat Nov 12 14:52:58 2005
@@ -8,17 +8,15 @@
#ifndef EXTERNALLEXER_H
#define EXTERNALLEXER_H
-#if PLAT_WIN
+#if PLAT_WIN || PLAT_WX
#define EXT_LEXER_DECL __stdcall
#elif PLAT_GTK
-#define EXT_LEXER_DECL
+#define EXT_LEXER_DECL
#endif
for compiling wxScintilla (1.66)