Bug #12249 2007-10-22 15:45
edisongustavo
Couldn't compile the file 'filemanager.cpp'
filemanager.cpp: In function 'bool WriteWxStringToFile(wxFile&, const wxString&, wxFontEncoding, bool)': filemanager.cpp:204: error: no matching function for call to 'wxCSConv::cWC2MB(const wxChar*, size_t&, size_t*)' I tried to fix this by changing the line 204 from: wxCharBuffer mbBuff = conv.cWC2MB(data.c_str(), inlen, &outlen); to: wxCharBuffer mbBuff = conv.cWC2MB(data.wchar_str(), inlen, &outlen); But I don't know if this fixes the problem. But it compiled :D
- Category
- Group
- Status
- Closed
- Close date
- 2007-11-21 05:59
- Assigned to
- biplab
History
biplab 2007-10-23 13:41
Please post wx version, os. It compiles well in our system, but I've tried only with wx-2.8.x.
biplab 2007-10-23 13:47
Possibly you are using Non-Unicode build of wxWidgets which can cause this problem.
biplab 2007-11-21 05:59
This bug is now fixed in HEAD.
Thank you for reporting it.