This small patch sould be applied:
Index: src/sdk/editorcolorset.h
===================================================================
--- src/sdk/editorcolorset.h (revision 2097)
+++ src/sdk/editorcolorset.h (working copy)
@@ -4,6 +4,7 @@
#include <wx/dynarray.h>
#include <wx/hashmap.h>
#include <wx/intl.h>
+#include <wx/wxscintilla.h>
#include "settings.h"
// forward decls
Since revision 2096 this header file uses some macros defined in "src/sdk/wxscintilla/include/wx/wxscintilla.h" and thus this header file should be included there. This missing include seems to be no problem for the core-parts of Code::Blocks (probably because of the precompiled headers) but it broke the Source Exporter plugin - it didn't compile without it here (gcc 3.4.5, wxWidgets 2.6.2, Linux).