X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bc17f14f4d232852063843e9e80953ff0919e78..2aac4022466fc88b20207e02c7de07c51d36ac48:/utils/HelpGen/src/sourcepainter.h diff --git a/utils/HelpGen/src/sourcepainter.h b/utils/HelpGen/src/sourcepainter.h index f26e98f62b..4b6b238d2b 100644 --- a/utils/HelpGen/src/sourcepainter.h +++ b/utils/HelpGen/src/sourcepainter.h @@ -32,13 +32,6 @@ #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();