From 36de58a21c05e6d12421e0afdaf2ed197bad5bbb Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 30 Sep 2009 06:53:43 +0000 Subject: [PATCH] Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck) Marin Ettl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index b25775321a..08c73d6d29 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -397,8 +397,8 @@ bool wxMenuBar::CreateMenuBar(wxFrame* parent) Widget tearOff = XmGetTearOffControl(GetWidget(menu)); wxDoChangeForegroundColour((Widget) tearOff, m_foregroundColour); wxDoChangeBackgroundColour((Widget) tearOff, m_backgroundColour, true); -#endif } +#endif } SetBackgroundColour(m_backgroundColour);