#ifdef __WXWINDOWS__
# include <wx/string.h>
# define string wxString
# define char wxChar
#else
#include <string>
#endif
OK a third bug - this one's in the debugger - setting breakpoints (the line# isn't being added - it just puts C:/1/123/main.cpp:).
Heh, the problem was that searchtree.cpp and searchtree.h were not included in the .cbp file...
So #1 can be fixed by updating the -UNI.cbp file
#2 still exists I believe (pch on linux for wxWidgets template).