From 39ef596bdc0c1b1dbd40390f3bc09251ec1eaaf7 Mon Sep 17 00:00:00 2001 From: Miguel Angel Ajo Date: Sun, 17 Mar 2013 00:51:43 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20wxString.Print=20call=20to=20be=20compati?= =?UTF-8?q?ble=20with=20wx2.8,=20thanks=20to=20=D0=91=D0=B0=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=81=D0=BA=D0=B8=D0=B9=20=D0=9A=D0=BE=D0=BD?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BD=D1=82=D0=B8=D0=BD=20and=20Edwin=20van?= =?UTF-8?q?=20den=20Oetelaar=20for=20submiting=20same=20patch,=20same=20ho?= =?UTF-8?q?ur,=20are=20you=20twins=3F=20;)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pcbnew/scripting/pcbnew_footprint_wizards.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/scripting/pcbnew_footprint_wizards.cpp b/pcbnew/scripting/pcbnew_footprint_wizards.cpp index 857f6b76d3..acbf7c0db8 100644 --- a/pcbnew/scripting/pcbnew_footprint_wizards.cpp +++ b/pcbnew/scripting/pcbnew_footprint_wizards.cpp @@ -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,