more tests in texttest

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-11-08 20:32:36 +00:00
parent a79c455963
commit c0bd235861
2 changed files with 236 additions and 35 deletions

View File

@@ -2279,7 +2279,8 @@ void wxTextCtrl::UpdateScrollbars()
void wxTextCtrl::OnIdle(wxIdleEvent& event)
{
if ( m_updateScrollbarX || m_updateScrollbarY )
// notice that single line text control never has scrollbars
if ( !IsSingleLine() && (m_updateScrollbarX || m_updateScrollbarY) )
{
UpdateScrollbars();