From 0882c6d94328a4eb188194b7e33564542f686327 Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Sat, 9 Nov 2024 07:39:49 -0500 Subject: [PATCH] Fix return value not actually being returned --- src/base/label.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/label.cpp b/src/base/label.cpp index efd28c8c..6cf72f5b 100644 --- a/src/base/label.cpp +++ b/src/base/label.cpp @@ -279,7 +279,7 @@ namespace Wisteria::GraphItems { if (!IsOk()) { - wxRect(); + return wxRect{}; } if (!GetCachedBoundingBox().IsEmpty())