Commit f674e87f authored by twanvl's avatar twanvl

compatibility with wxWdigets 2.9+: wxString::c_str now returns an object...

compatibility with wxWdigets 2.9+: wxString::c_str now returns an object instead of a Char*, use cast to force conversion.
parent 131e05b8
......@@ -84,7 +84,7 @@ TextIOHandler& TextIOHandler::operator << (const Char* str) {
}
TextIOHandler& TextIOHandler::operator << (const String& str) {
return *this << str.c_str();
return *this << static_cast<const Char*>(str.c_str());
}
void TextIOHandler::flush() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment