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/trunk@62203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2009-09-30 06:53:35 +00:00
parent 7a8e90dd7a
commit b914917f2c

View File

@ -364,8 +364,8 @@ bool wxMenuBar::CreateMenuBar(wxFrame* parent)
Widget tearOff = XmGetTearOffControl(GetWidget(menu));
wxDoChangeForegroundColour((Widget) tearOff, m_foregroundColour);
wxDoChangeBackgroundColour((Widget) tearOff, m_backgroundColour, true);
#endif
}
#endif
}
PostCreation();