From 9a222823c87982ab7718431c8543af1af249b65a Mon Sep 17 00:00:00 2001 From: forbes Date: Fri, 13 Feb 2026 14:09:52 -0600 Subject: [PATCH] cherry-pick: 1f49e3fa6da --- src/Gui/ApplicationPy.cpp | 4 ++-- src/Gui/Workbench.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;