void AddMacroDef(int the_id, const wxChar *name, int n, bool ignore = false, bool forbidden = false);
void TexInitialize(int bufSize);
void TexCleanUp(void);
-void TexOutput(const wxChar *s, bool ordinaryText = false);
+void TexOutput(const wxString& s, bool ordinaryText = false);
wxChar *GetArgData(TexChunk *chunk);
wxChar *GetArgData(void); // Get the string for the current argument
int GetNoArgs(void); // Get the number of arguments for the current macro
bool DefaultOnArgument(int macroId, int arg_no, bool start);
// Called on error
-void OnError(const wxChar *msg);
+void OnError(const wxString& msg);
// Called for information
-void OnInform(const wxChar *msg);
+void OnInform(const wxString& msg);
// Special yield wrapper
void Tex2RTFYield(bool force = false);
void ResetTopicCounter(void);
// Parse unit eg. 14, 12pt, 34cm and return value in points.
-int ParseUnitArgument(wxChar *unitArg);
+int ParseUnitArgument(const wxChar *unitArg);
// Set small, large, normal etc. point sizes for reference size
void SetFontSizes(int pointSize);
extern wxList BibList;
extern wxStringList CitationList;
-bool ReadBib(wxChar *filename);
+bool ReadBib(const wxChar *filename);
void OutputBib(void);
void ResolveBibReferences(void);
-void AddCitation(wxChar *citeKey);
-TexRef *FindReference(wxChar *key);
+void AddCitation(const wxChar *citeKey);
+TexRef *FindReference(const wxChar *key);
/*
* Ability to customize, or at least suppress unknown macro errors