aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-12-12 02:13:18 +0000
committernyamatongwe <devnull@localhost>2008-12-12 02:13:18 +0000
commit2ad4bc337c3db1674b6b12bef3fc0e37324d5888 (patch)
tree91b6f5832b52838c06b23146a93b33edddbfe96d
parentc35c0639609f9fe94e6e1ffc896e367381aa7d88 (diff)
downloadscintilla-mirror-2ad4bc337c3db1674b6b12bef3fc0e37324d5888.tar.gz
Added namespace support.
-rw-r--r--gtk/PlatGTK.cxx4
-rw-r--r--gtk/ScintillaGTK.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 81c0b2195..486ce896c 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -41,6 +41,10 @@
#pragma warning(disable: 4505)
#endif
+#ifdef SCI_NAMESPACE
+using namespace Scintilla;
+#endif
+
enum encodingType { singleByte, UTF8, dbcs};
struct LOGFONT {
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 0dd0ec9d5..fa33d283a 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -88,6 +88,10 @@
#define OBJECT_CLASS GObjectClass
#endif
+#ifdef SCI_NAMESPACE
+using namespace Scintilla;
+#endif
+
extern char *UTF8FromLatin1(const char *s, int &len);
class ScintillaGTK : public ScintillaBase {