Use bool constants instead of BOOL ones in wxBitmapComboBox code.
Just s/TRUE/true/ See #14279. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -441,7 +441,7 @@ bool wxBitmapComboBox::MSWOnDraw(WXDRAWITEMSTRUCT *item)
|
|||||||
//if ( lpDrawItem->itemState & ODS_FOCUS )
|
//if ( lpDrawItem->itemState & ODS_FOCUS )
|
||||||
// DrawFocusRect(lpDrawItem->hDC, &lpDrawItem->rcItem);
|
// DrawFocusRect(lpDrawItem->hDC, &lpDrawItem->rcItem);
|
||||||
|
|
||||||
return TRUE;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxBitmapComboBox::MSWOnMeasure(WXMEASUREITEMSTRUCT *item)
|
bool wxBitmapComboBox::MSWOnMeasure(WXMEASUREITEMSTRUCT *item)
|
||||||
@@ -456,7 +456,7 @@ bool wxBitmapComboBox::MSWOnMeasure(WXMEASUREITEMSTRUCT *item)
|
|||||||
lpMeasureItem->itemHeight = wxBitmapComboBoxBase::MeasureItem(pos);
|
lpMeasureItem->itemHeight = wxBitmapComboBoxBase::MeasureItem(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_BITMAPCOMBOBOX
|
#endif // wxUSE_BITMAPCOMBOBOX
|
||||||
|
Reference in New Issue
Block a user