compatibility with wxWdigets 2.9+: wxString::c_str now returns an object instead of a Char*, use cast to force conversion.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1525 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:01:02 +00:00
parent 418a05d636
commit aaca63cc0f
+1 -1
View File
@@ -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() {