MinGW warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-01-19 13:26:04 +00:00
parent c3fad64b42
commit 2ac08aeb99

View File

@ -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;