Commit f83a200e authored by Miguel Angel Ajo's avatar Miguel Angel Ajo

Fix wxString.Print call to be compatible with wx2.8, thanks to Барановский...

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? ;)
parent b992feea
...@@ -72,9 +72,9 @@ PyObject* PYTHON_FOOTPRINT_WIZARD::CallMethod( const char* aMethod, PyObject* aA ...@@ -72,9 +72,9 @@ PyObject* PYTHON_FOOTPRINT_WIZARD::CallMethod( const char* aMethod, PyObject* aA
message.Printf( wxT( "calling %s()\n" message.Printf( wxT( "calling %s()\n"
"Exception: %s\n" "Exception: %s\n"
" : %s\n" ), " : %s\n" ),
aMethod, FROM_UTF8( aMethod ).c_str(),
FROM_UTF8( PyString_AsString( PyObject_Str( v ) ) ), FROM_UTF8( PyString_AsString( PyObject_Str( v ) ) ).c_str(),
FROM_UTF8( PyString_AsString( PyObject_Str( b ) ) ) FROM_UTF8( PyString_AsString( PyObject_Str( b ) ) ).c_str()
); );
wxMessageBox( message, wxMessageBox( message,
......
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