fix some (harmless) mingw32 4.3 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2831,10 +2831,10 @@ WXLPARAM wxListCtrl::OnCustomDraw(WXLPARAM lParam)
|
||||
// Necessary for drawing hrules and vrules, if specified
|
||||
void wxListCtrl::OnPaint(wxPaintEvent& event)
|
||||
{
|
||||
bool drawHRules = HasFlag(wxLC_HRULES);
|
||||
bool drawVRules = HasFlag(wxLC_VRULES);
|
||||
const bool drawHRules = HasFlag(wxLC_HRULES);
|
||||
const bool drawVRules = HasFlag(wxLC_VRULES);
|
||||
|
||||
if (!InReportView() || !drawHRules && !drawVRules)
|
||||
if (!InReportView() || !(drawHRules || drawVRules))
|
||||
{
|
||||
event.Skip();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user