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:
@@ -397,8 +397,8 @@ bool wxMenuBar::CreateMenuBar(wxFrame* parent)
|
|||||||
Widget tearOff = XmGetTearOffControl(GetWidget(menu));
|
Widget tearOff = XmGetTearOffControl(GetWidget(menu));
|
||||||
wxDoChangeForegroundColour((Widget) tearOff, m_foregroundColour);
|
wxDoChangeForegroundColour((Widget) tearOff, m_foregroundColour);
|
||||||
wxDoChangeBackgroundColour((Widget) tearOff, m_backgroundColour, true);
|
wxDoChangeBackgroundColour((Widget) tearOff, m_backgroundColour, true);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
SetBackgroundColour(m_backgroundColour);
|
SetBackgroundColour(m_backgroundColour);
|
||||||
|
Reference in New Issue
Block a user