projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d68ec
)
fixed refreshing listctrl on focus change when it only has one item
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 29 Aug 2001 11:35:14 +0000
(11:35 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 29 Aug 2001 11:35:14 +0000
(11:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11511
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/listctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/listctrl.cpp
b/src/generic/listctrl.cpp
index a695ae73183a187eb7484403414806d8012a8005..b6e7e543c214b0c5ecb8c6a723896c2c1b745a3b 100644
(file)
--- a/
src/generic/listctrl.cpp
+++ b/
src/generic/listctrl.cpp
@@
-2556,7
+2556,7
@@
void wxListMainWindow::RefreshSelected()
to = GetItemCount() - 1;
}
- if ( HasCurrent() && m_current > from && m_current <= to )
+ if ( HasCurrent() && m_current >
=
from && m_current <= to )
{
RefreshLine(m_current);
}