Fix compilation with wxWidgets 2.9.x on mingw

This commit is contained in:
Moritz Bunkus 2011-05-28 00:03:00 +02:00
parent 236b0eceb7
commit c677fc3947

View File

@ -266,7 +266,7 @@ format_date_time(time_t date_time) {
#if defined(SYS_WINDOWS)
wxString
format_tooltip(const wxString &s) {
return format_paragraph(s.c_str(), 0, L"", L"", 80);
return format_paragraph(static_cast<const wchar_t *>(s.wc_str()), 0, L"", L"", 80);
}
#endif