From: Włodzimierz Skiba Date: Wed, 19 Jan 2005 13:26:04 +0000 (+0000) Subject: MinGW warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2ac08aeb99819346c827ae93c1821425bb596c4e MinGW warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;