Warning fix for the warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jamie Gadd 2006-07-25 09:24:03 +00:00
parent 459b97dfcb
commit 89fdd421b4

View File

@ -1046,7 +1046,7 @@ void wxOwnerDrawnComboBox::OnDrawBackground(wxDC& dc, const wxRect& rect, int it
{
int focusFlag = wxCONTROL_SELECTED;
if ( flags & wxODCB_PAINTING_CONTROL != wxODCB_PAINTING_CONTROL )
if ( (flags & wxODCB_PAINTING_CONTROL) != wxODCB_PAINTING_CONTROL )
focusFlag |= wxCONTROL_ISSUBMENU;
DrawFocusBackground(dc, rect, focusFlag );