]> git.saurik.com Git - wxWidgets.git/commitdiff
Initialize wxRibbonBar::m_help_button_hovered.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Dec 2012 01:32:38 +0000 (01:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 Dec 2012 01:32:38 +0000 (01:32 +0000)
This variable was never initialized, do it now.

See #14868.

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

src/ribbon/bar.cpp

index 34ee1d4d5eba30b77f6dc864a4a1fae35d9f244a..b2d008d7341a7c5f4fc7b3ff7c63f0d175e9b91a 100644 (file)
@@ -712,6 +712,7 @@ wxRibbonBar::wxRibbonBar()
     m_tab_scroll_right_button_state = wxRIBBON_SCROLL_BTN_NORMAL;
     m_tab_scroll_buttons_shown = false;
     m_arePanelsShown = true;
+    m_help_button_hovered = false;
 }
 
 wxRibbonBar::wxRibbonBar(wxWindow* parent,