#include "wx/wx.h"
#endif
-#include <wx/hash.h>
+#include "wx/hash.h"
+
+#ifdef new
+#undef new
+#endif
#if wxUSE_IOSTREAMH
#include <iostream.h>
static char *forceTopicName = NULL;
-void ForceTopicName(char *name)
+void ForceTopicName(const char *name)
{
if (forceTopicName)
delete[] forceTopicName;
*
*/
-ColourTableEntry::ColourTableEntry(char *theName, unsigned int r, unsigned int g, unsigned int b)
+ColourTableEntry::ColourTableEntry(const char *theName, unsigned int r, unsigned int g, unsigned int b)
{
name = copystring(theName);
red = r;
delete[] name;
}
-void AddColour(char *theName, unsigned int r, unsigned int g, unsigned int b)
+void AddColour(const char *theName, unsigned int r, unsigned int g, unsigned int b)
{
wxNode *node = ColourTable.Find(theName);
if (node)