]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/odcombo.cpp
Added wxID_PAGE_SETUP standard id
[wxWidgets.git] / src / generic / odcombo.cpp
index 4d39e83afa1c8b58cc52dbcd951ec0876dc78d05..b48d79347d88a476734f577c3f2366f0e62c5cad 100644 (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 );