From 0b3ef1feaae4db052a6d3d6cacbe876fc140b4bf Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Fri, 11 Jul 2025 08:36:56 -0400 Subject: [PATCH] Fix and clarify wxRect2DDouble explainations See #25629. --- interface/wx/geometry.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/interface/wx/geometry.h b/interface/wx/geometry.h index 1d4b988aaf..2abe88e2c0 100644 --- a/interface/wx/geometry.h +++ b/interface/wx/geometry.h @@ -347,14 +347,13 @@ public: /** Set the bottom edge of the rectangle. - @note This will alter the height of the rectangle. + @note This will preserve the top position and + alter the height of the rectangle. Use MoveBottomTo() to only move the bottom. */ void SetBottom( wxDouble n ); /** - Set the bottom edge of the rectangle. - - @note This will affect the height of the rectangle. + Set the bottom edge of the rectangle, preserving the height. */ void MoveBottomTo( wxDouble n ); /** @@ -364,14 +363,13 @@ public: /** Set the right side of the rectangle. - @note This will alter the width of the rectangle. + @note This will preserve the left position and + alter the width of the rectangle. Use MoveRightTo() to only move the bottom. */ void SetRight( wxDouble n ); /** - Set the right side of the rectangle. - - @note This will affect the width of the rectangle. + Set the right side of the rectangle, preserving the width. */ void MoveRightTo( wxDouble n );