From ca818da5567fbaa7f260e4355b52d18ae9de0dd4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Oct 2000 10:25:42 +0000 Subject: [PATCH] fixed horz scrollbar (dis)appearance git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 7d3a53fda7..d73dd34d91 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -635,7 +635,7 @@ wxCoord wxListBox::GetLineHeight() const wxCoord wxListBox::GetMaxWidth() const { - if ( m_maxWidth == -1 ) + if ( m_maxWidth == 0 ) { wxCoord width; size_t count = m_strings.GetCount();