#pragma hdrstop
#endif
-#if wxUSE_UNICODE
- #error "HelpGen doesn't build in Unicode mode"
-#endif
-
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
// -----------------------------------------------------------------------------
// return the label for the given function name (i.e. argument of \label)
-static wxString MakeLabel(const wxChar *classname, const wxChar *funcname = NULL);
+static wxString MakeLabel(const char *classname, const char *funcname = NULL);
// return the whole \helpref{arg}{arg_label} string
-static wxString MakeHelpref(const wxChar *argument);
+static wxString MakeHelpref(const char *argument);
// [un]quote special TeX characters (in place)
static void TeXFilter(wxString* str);
// returns the length of 'match' if the string 'str' starts with it or 0
// otherwise
- static size_t TryMatch(const wxChar *str, const wxChar *match);
+ static size_t TryMatch(const char *str, const char *match);
// skip spaces: returns pointer to first non space character (also
// updates the value of m_line)
directoryOut = argv[current];
if ( !directoryOut.empty() ) {
// terminate with a '/' if it doesn't have it
- switch ( directoryOut.Last() ) {
+ switch ( directoryOut.Last().GetValue() ) {
case '/':
#ifdef __WXMSW__
case '\\':
baseHeaderName.erase(0, 3);
for ( index = 0; index < WXSIZEOF(headers); index++ ) {
- if ( Stricmp(baseHeaderName, headers[index]) == 0 )
+ if ( wxStricmp(baseHeaderName, headers[index]) == 0 )
break;
}
/*
$Log$
+ Revision 1.45 2007/05/25 20:29:14 VS
+ compilation fix: can't use wxUniCharRef in switch statement
+
Revision 1.44 2005/05/31 17:47:45 ABX
More warning and error fixes (work in progress with Tinderbox).