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:
parent
459b97dfcb
commit
89fdd421b4
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user