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:
@@ -109,7 +109,7 @@ bool wxRibbonBar::DismissExpandedPanel()
|
|||||||
return m_pages.Item(m_current_page).page->DismissExpandedPanel();
|
return m_pages.Item(m_current_page).page->DismissExpandedPanel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxRibbonBar::ShowPanels(const bool show)
|
void wxRibbonBar::ShowPanels(bool show)
|
||||||
{
|
{
|
||||||
m_arePanelsShown = show;
|
m_arePanelsShown = show;
|
||||||
SetMinSize(wxSize(GetSize().GetWidth(), DoGetBestSize().GetHeight()));
|
SetMinSize(wxSize(GetSize().GetWidth(), DoGetBestSize().GetHeight()));
|
||||||
|
Reference in New Issue
Block a user