X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3603e5658fbd0693f71bbe62ed0239b4f96fd4e0..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/ribbon/bar.cpp diff --git a/src/ribbon/bar.cpp b/src/ribbon/bar.cpp index e922cecc0e..625324fa7d 100644 --- a/src/ribbon/bar.cpp +++ b/src/ribbon/bar.cpp @@ -109,7 +109,7 @@ bool wxRibbonBar::DismissExpandedPanel() return m_pages.Item(m_current_page).page->DismissExpandedPanel(); } -void wxRibbonBar::ShowPanels(const bool show) +void wxRibbonBar::ShowPanels(bool show) { m_arePanelsShown = show; SetMinSize(wxSize(GetSize().GetWidth(), DoGetBestSize().GetHeight()));