1. wxListBox::Delete() refresh bug fixed

2. wxScrollBar::HitTest() fixed (=> fixing refresh problem) for scrollbars
   without range


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-09 17:07:23 +00:00
parent ca818da556
commit a978bcef22
4 changed files with 28 additions and 6 deletions

View File

@@ -275,8 +275,8 @@ wxHitTest wxRenderer::StandardHitTestScrollbar(const wxScrollBar *scrollbar,
int range = scrollbar->GetRange();
if ( !range )
{
thumbStart =
thumbEnd = 0;
// clicking the scrollbar without range has no effect
return wxHT_NOWHERE;
}
else
{