Hi,
Current BM fails to build with wxWidgets unicode variant under Debian with these errors:
SkinManager.cpp: In member function ‘bool CSkinManager::ReloadSkin(wxLocale*, wxString)’:
SkinManager.cpp:1210: error: cannot convert ‘const wxChar*’ to ‘const char*’ for argument ‘1’ to ‘FILE* fopen(const char*, const char*)’
SkinManager.cpp:1221: error: cannot convert ‘const wxChar*’ to ‘const char*’ for argument ‘1’ to ‘FILE* fopen(const char*, const char*)’
SkinManager.cpp:1232: error: cannot convert ‘const wxChar*’ to ‘const char*’ for argument ‘1’ to ‘FILE* fopen(const char*, const char*)’
SkinManager.cpp: In member function ‘int CSkinManager::Parse(MIOFILE&, wxString)’:
SkinManager.cpp:1346: error: no matching function for call to ‘match_tag(char [256], const wxChar*)’
../lib/parse.h:62: note: candidates are: bool match_tag(const char*, const char*)
../lib/parse.h:67: note: bool match_tag(const std::string&, const char*)
SkinManager.cpp:1355: error: no matching function for call to ‘match_tag(char [256], const wxChar*)’
../lib/parse.h:62: note: candidates are: bool match_tag(const char*, const char*)
../lib/parse.h:67: note: bool match_tag(const std::string&, const char*)
Something like the attached patch fixes the build failures.
Regards,
Frank