]> git.saurik.com Git - wxWidgets.git/blobdiff - src/ribbon/bar.cpp
Fix compilation errors under OSX.
[wxWidgets.git] / src / ribbon / bar.cpp
index e922cecc0e850f11083814fe4766de851937db7d..625324fa7d324f8ca57f75b2e8f15558e4018fa8 100644 (file)
@@ -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()));