From b4b2e4a096fe8fe1ad530a4c181729be05834595 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 18 Apr 2022 09:47:11 -0400 Subject: add upstream 11.20 --- wx+/std_button_layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/std_button_layout.h') diff --git a/wx+/std_button_layout.h b/wx+/std_button_layout.h index e84b0c78..72756041 100644 --- a/wx+/std_button_layout.h +++ b/wx+/std_button_layout.h @@ -78,7 +78,7 @@ void setStandardButtonLayout(wxBoxSizer& sizer, const StdButtons& buttons) if (wxSizerItem& item = *sizer.GetItem(pos); item.IsSpacer() && item.GetProportion() == 0 && item.GetSize().y == 0) { - [[maybe_unused]] bool rv = sizer.Detach(pos); + [[maybe_unused]] const bool rv = sizer.Detach(pos); assert(rv); } -- cgit