From 6079ab879d2d95a99be1bf94ee007ee58225067e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Apr 2004 12:43:23 +0000 Subject: [PATCH] last check in forgot to add WS_VSCROLL to the listbox sttyle, added back to reenable the vertical scrollbar git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 8535e241e2..1ed58c7709 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -210,6 +210,10 @@ WXDWORD wxListBox::MSWGetStyle(long style, WXDWORD *exstyle) const { WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle); + // always show the vertical scrollbar if necessary -- otherwise it is + // impossible to use the control with the mouse + msStyle |= WS_VSCROLL; + // we always want to get the notifications msStyle |= LBS_NOTIFY; -- 2.45.2