Suppress MSVC++ performance warning
This is to prevent warning C4800: 'LRESULT': forcing value to bool 'true' or 'false' (performance warning).
This commit is contained in:
@@ -617,7 +617,7 @@ void wxListBox::SetHorizontalExtent(const wxString& s)
|
|||||||
bool wxListBox::MSWSetTabStops(const wxVector<int>& tabStops)
|
bool wxListBox::MSWSetTabStops(const wxVector<int>& tabStops)
|
||||||
{
|
{
|
||||||
return SendMessage(GetHwnd(), LB_SETTABSTOPS, (WPARAM)tabStops.size(),
|
return SendMessage(GetHwnd(), LB_SETTABSTOPS, (WPARAM)tabStops.size(),
|
||||||
tabStops.size() ? (LPARAM)&tabStops[0] : 0);
|
tabStops.size() ? (LPARAM)&tabStops[0] : 0) == TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxSize wxListBox::DoGetBestClientSize() const
|
wxSize wxListBox::DoGetBestClientSize() const
|
||||||
|
Reference in New Issue
Block a user