1. (hopefully) fixed horz scrolling
2. only refresh part of line in Replace() 3. changed wxWindow::Refresh() to take client coordinates 4. only refresh the text which must be refreshed when selection changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -492,7 +492,10 @@ void wxListBox::OnIdle(wxIdleEvent& event)
|
||||
}
|
||||
else
|
||||
{
|
||||
wxRect rect = GetClientRect();
|
||||
wxSize size = GetClientSize();
|
||||
wxRect rect;
|
||||
rect.width = size.x;
|
||||
rect.height = size.y;
|
||||
rect.y += m_updateFrom*GetLineHeight();
|
||||
rect.height = m_updateCount*GetLineHeight();
|
||||
CalcScrolledPosition(rect.x, rect.y, &rect.x, &rect.y);
|
||||
|
Reference in New Issue
Block a user