From 2ac08aeb99819346c827ae93c1821425bb596c4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 19 Jan 2005 13:26:04 +0000 Subject: [PATCH] MinGW warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 1d9eda16d9..bb0b69bc1b 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -1746,7 +1746,7 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) ) dc, wxRect(x, HEADER_OFFSET_Y, cw, h - 2), m_parent->IsEnabled() ? 0 - : wxCONTROL_DISABLED + : (int)wxCONTROL_DISABLED ); // see if we have enough space for the column label @@ -2882,7 +2882,7 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) return; } #endif - + if ( !HasCurrent() || IsEmpty() ) return; -- 2.50.0