1552971 ] Add flag for wxODComboBox::OnDrawItem to indicate selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -264,8 +264,7 @@ public:
|
||||
|
||||
// If item is selected or even, or we are painting the
|
||||
// combo control itself, use the default rendering.
|
||||
if ( GetVListBoxComboPopup()->IsCurrent((size_t)item) ||
|
||||
(flags & wxODCB_PAINTING_CONTROL) ||
|
||||
if ( (flags & (wxODCB_PAINTING_CONTROL|wxODCB_PAINTING_SELECTED)) ||
|
||||
(item & 1) == 0 )
|
||||
{
|
||||
wxOwnerDrawnComboBox::OnDrawBackground(dc,rect,item,flags);
|
||||
|
Reference in New Issue
Block a user