Fix wxString.Print call to be compatible with wx2.8, thanks to Барановский Константин and Edwin van den Oetelaar for submiting same patch, same hour, are you twins? ;)

This commit is contained in:
Miguel Angel Ajo 2013-03-17 00:51:43 +01:00
parent b992feeaf6
commit f83a200e5e
1 changed files with 3 additions and 3 deletions

View File

@ -72,9 +72,9 @@ PyObject* PYTHON_FOOTPRINT_WIZARD::CallMethod( const char* aMethod, PyObject* aA
message.Printf( wxT( "calling %s()\n"
"Exception: %s\n"
" : %s\n" ),
aMethod,
FROM_UTF8( PyString_AsString( PyObject_Str( v ) ) ),
FROM_UTF8( PyString_AsString( PyObject_Str( b ) ) )
FROM_UTF8( aMethod ).c_str(),
FROM_UTF8( PyString_AsString( PyObject_Str( v ) ) ).c_str(),
FROM_UTF8( PyString_AsString( PyObject_Str( b ) ) ).c_str()
);
wxMessageBox( message,