From 1f49e3fa6daadbb332c569579e5e8a6cfcaf5c61 Mon Sep 17 00:00:00 2001 From: forbes Date: Wed, 11 Feb 2026 16:35:40 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20resolve=20build=20errors=20=E2=80=94=20T?= =?UTF-8?q?oolBarItem=20incomplete=20type=20and=20ReportException=20method?= =?UTF-8?q?=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Workbench.h: replace forward declaration of ToolBarItem with #include so that ToolBarItem::DefaultVisibility can be used as a default parameter (line 283) - ApplicationPy.cpp: fix ReportException() → reportException() to match the method name declared in Base::Interpreter.h --- 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; -- 2.49.1