miscellaneous LnF improvements, including support for Vista-style (patch 1588794)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -380,7 +380,8 @@ void wxBitmapComboBox::OnDrawBackground(wxDC& dc,
|
||||
{
|
||||
if ( GetCustomPaintWidth() == 0 ||
|
||||
!(flags & wxODCB_PAINTING_SELECTED) ||
|
||||
item < 0 )
|
||||
item < 0 ||
|
||||
( (flags & wxODCB_PAINTING_CONTROL) && (GetInternalFlags() & wxCC_FULL_BUTTON)) )
|
||||
{
|
||||
wxOwnerDrawnComboBox::OnDrawBackground(dc, rect, item, flags);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user