DMC warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: generic/vlbox.cpp
|
// Name: src/generic/vlbox.cpp
|
||||||
// Purpose: implementation of wxVListBox
|
// Purpose: implementation of wxVListBox
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -231,7 +231,7 @@ bool wxVListBox::DoSetCurrent(int current)
|
|||||||
// it is, indeed, only partly visible, so scroll it into view to
|
// it is, indeed, only partly visible, so scroll it into view to
|
||||||
// make it entirely visible
|
// make it entirely visible
|
||||||
while ( (size_t)m_current == GetLastVisibleLine() &&
|
while ( (size_t)m_current == GetLastVisibleLine() &&
|
||||||
ScrollToLine(GetVisibleBegin()+1) );
|
ScrollToLine(GetVisibleBegin()+1) ) ;
|
||||||
|
|
||||||
// but in any case refresh it as even if it was only partly visible
|
// but in any case refresh it as even if it was only partly visible
|
||||||
// before we need to redraw it entirely as its background changed
|
// before we need to redraw it entirely as its background changed
|
||||||
|
Reference in New Issue
Block a user