X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dd31ff527b70ef0228f773475a0a58b6072456a..e63f19ba93dad9ffe386e442e86d38e07345df7b:/src/generic/odcombo.cpp diff --git a/src/generic/odcombo.cpp b/src/generic/odcombo.cpp index 4d39e83afa..b48d79347d 100644 --- a/src/generic/odcombo.cpp +++ b/src/generic/odcombo.cpp @@ -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 );