From: Julian Smart Date: Tue, 24 Aug 1999 08:24:36 +0000 (+0000) Subject: Added WS_VSCROLL, WS_HSCROLL styles X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d50c81d3adb484655e394e4257cf76bcaf4038f2 Added WS_VSCROLL, WS_HSCROLL styles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index 3f104ea206..84d90c83b0 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -60,7 +60,7 @@ bool wxChoice::Create(wxWindow *parent, if ( !CreateControl(parent, id, pos, size, style, validator, name) ) return FALSE; - long msStyle = WS_CHILD | CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE; + long msStyle = WS_CHILD | CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL; if ( style & wxCB_SORT ) msStyle |= CBS_SORT;