git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11394
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxListMainWindow::RefreshLine( size_t line )
{
void wxListMainWindow::RefreshLine( size_t line )
{
- size_t visibleFrom, visibleTo;
- GetVisibleLinesRange(&visibleFrom, &visibleTo);
+ if ( HasFlag(wxLC_REPORT) )
+ {
+ size_t visibleFrom, visibleTo;
+ GetVisibleLinesRange(&visibleFrom, &visibleTo);
- if ( line < visibleFrom || line > visibleTo )
- return;
+ if ( line < visibleFrom || line > visibleTo )
+ return;
+ }
wxRect rect = GetLineRect(line);
wxRect rect = GetLineRect(line);