diff --git a/src/Gui/ApplicationPy.cpp b/src/Gui/ApplicationPy.cpp index 7fd1cc367d..2472264f84 100644 --- a/src/Gui/ApplicationPy.cpp +++ b/src/Gui/ApplicationPy.cpp @@ -2271,7 +2271,7 @@ PyObject* ApplicationPy::sRegisterEditingContext(PyObject* /*self*/, PyObject* a } catch (Py::Exception&) { Base::PyException e; - e.ReportException(); + e.reportException(); return false; } }; @@ -2322,7 +2322,7 @@ PyObject* ApplicationPy::sRegisterEditingOverlay(PyObject* /*self*/, PyObject* a } catch (Py::Exception&) { Base::PyException e; - e.ReportException(); + e.reportException(); return false; } }; diff --git a/src/Gui/Workbench.h b/src/Gui/Workbench.h index 65c0353098..5ed0d7ba34 100644 --- a/src/Gui/Workbench.h +++ b/src/Gui/Workbench.h @@ -29,6 +29,7 @@ #include #include #include +#include namespace Base { @@ -39,7 +40,6 @@ namespace Gui { class MenuItem; -class ToolBarItem; class DockWindowItems; class WorkbenchManager;