diff options
Diffstat (limited to 'wx+/std_button_layout.h')
-rw-r--r-- | wx+/std_button_layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |