]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/HelpGen/src/sourcepainter.h
colourSize was probably supposed to be used and not just defined and then forgot...
[wxWidgets.git] / utils / HelpGen / src / sourcepainter.h
index f26e98f62b51473fc92388a7d33c43d092b9e2c3..4b6b238d2bed0865849824cbab830b09c2f20b86 100644 (file)
     #include "wxstlvec.h"
     #include "wx/string.h"
 
-    #if wxUSE_STD_STRING
-        using std::string;
-    #else
-        // FIXME:: dirty!
-        #define  string wxString
-    #endif
-
     typedef WXSTL_VECTOR_SHALLOW_COPY(int) SPBlockListT;
 
 #endif
@@ -63,7 +56,7 @@
 class SourcePainter
 {
 protected:
-    string          mResultStr;
+    wxString        mResultStr;
     SPBlockListT    mBlocks;
     bool            mCollectResultsOn;
 
@@ -93,10 +86,10 @@ public:
     // generates string of highlighted source for the scipting
     // language given by "tags" argument
 
-    virtual void GetResultString(string& result, MarkupTagsT tags);
+    virtual void GetResultString(wxString& result, MarkupTagsT tags);
 
     // returns vector of block descriptors, see SPBlockListT definition
-    // (block descriptors can be used for fast custom hightlighted text generation)
+    // (block descriptors can be used for fast custom highlighted text generation)
 
     SPBlockListT& GetBlocks();