#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
class SourcePainter
{
protected:
- string mResultStr;
+ wxString mResultStr;
SPBlockListT mBlocks;
bool mCollectResultsOn;
// 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();