Fix unused vars in wxpython3

This commit is contained in:
Seth Hillbrand 2019-01-24 21:25:39 -08:00
parent d39cdb5565
commit ff9d814fbd
1 changed files with 2 additions and 0 deletions

View File

@ -366,7 +366,9 @@ wxWindow* CreatePythonShellWindow( wxWindow* parent, const wxString& aFramenameI
PyDict_SetItemString( globals, "__builtins__", builtins );
Py_DECREF( builtins );
#ifdef KICAD_SCRIPTING_WXPYTHON_PHOENIX
auto app_ptr = wxTheApp;
#endif
// Execute the code to make the makeWindow function we defined above
PyObject* result = PyRun_String( pcbnew_pyshell_one_step.str().c_str(), Py_file_input, globals, globals );