From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 10 Jan 2011 12:00:44 +0000 (+0000)
Subject: Remove redundant top level const in wxRibbonBar::ShowPanels().
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ca275c039c9e53bd37c008a19e30c382fbb65895

Remove redundant top level const in wxRibbonBar::ShowPanels().

Use just "bool show" instead of "const bool show".

This fixes compilation for some compilers (notably OpenVMS one) broken since
r66612.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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()));