]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/scintilla/src/Style.h
Compilation fix for wxUSE_PROTOCOL && !wxUSE_URL.
[wxWidgets.git] / src / stc / scintilla / src / Style.h
index 91f0bdb62e4aad972f2c36c85d00aa1bcdf0c820..1caecaee73ffe228f0521348320bee167a26c098 100644 (file)
@@ -8,6 +8,10 @@
 #ifndef STYLE_H
 #define STYLE_H
 
+#ifdef SCI_NAMESPACE
+namespace Scintilla {
+#endif
+
 /**
  */
 class Style {
@@ -50,7 +54,11 @@ public:
        void ClearTo(const Style &source);
        bool EquivalentFontTo(const Style *other) const;
        void Realise(Surface &surface, int zoomLevel, Style *defaultStyle = 0, bool extraFontFlag = false);
-       bool IsProtected() const { return !(changeable && visible);}
+       bool IsProtected() const { return !(changeable && visible);};
 };
 
+#ifdef SCI_NAMESPACE
+}
+#endif
+
 #endif