From 6ce4d62f8460dd11c2cef1b14db8643b2561df32 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 12 Dec 2008 02:13:18 +0000 Subject: Added namespace support. --- gtk/PlatGTK.cxx | 4 ++++ gtk/ScintillaGTK.cxx | 4 ++++ 2 files changed, 8 insertions(+) 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 { -- cgit v1.2.3