From be3ea1768a68f2a5897436f9913ba9ef793ce776 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 26 Feb 2024 02:56:15 +0100 Subject: [PATCH] Fix documentation of wxSplitterWindow::GetLastSplitPosition() Correct the documented return type of this function to match its actual type to fix a problem introduced in the recent f24b3d5483 (Save last wxSplitterWindow position before it was unsplit, 2024-02-12). See #24329. Closes #24347. --- interface/wx/splitter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/wx/splitter.h b/interface/wx/splitter.h index 18cdd6d20a..336d7db27d 100644 --- a/interface/wx/splitter.h +++ b/interface/wx/splitter.h @@ -491,7 +491,7 @@ public: @since 3.3.0 */ - const wxPoint& GetLastSplitPosition() const; + wxPoint GetLastSplitPosition() const; /** Sets the last sash position.