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
This commit is contained in:
Vadim Zeitlin
2011-01-10 12:00:44 +00:00
parent 12354f4676
commit ca275c039c

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