diff options
author | nyamatongwe <unknown> | 2008-12-12 02:13:18 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-12-12 02:13:18 +0000 |
commit | 6ce4d62f8460dd11c2cef1b14db8643b2561df32 (patch) | |
tree | 91b6f5832b52838c06b23146a93b33edddbfe96d | |
parent | 1a8ce1a2cab38ac9991f9adb7784fa3d27d20ec5 (diff) | |
download | scintilla-mirror-6ce4d62f8460dd11c2cef1b14db8643b2561df32.tar.gz |
Added namespace support.
-rw-r--r-- | gtk/PlatGTK.cxx | 4 | ||||
-rw-r--r-- | gtk/ScintillaGTK.cxx | 4 |
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 { |