added RefreshAll()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-02 22:58:38 +00:00
parent fb4769829b
commit 8b053348a5
2 changed files with 10 additions and 0 deletions

View File

@@ -196,6 +196,13 @@ void wxVScrolledWindow::RefreshLine(size_t line)
RefreshRect(rect);
}
void wxVScrolledWindow::RefreshAll()
{
UpdateScrollbar();
Refresh();
}
int wxVScrolledWindow::HitTest(wxCoord WXUNUSED(x), wxCoord y) const
{
const size_t lineMax = GetLastVisibleLine();