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
This commit is contained in:
Julian Smart
2009-09-30 06:53:43 +00:00
parent 319cc9f6cb
commit 36de58a21c

View File

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