]> git.saurik.com Git - wxWidgets.git/commitdiff
Added WS_VSCROLL, WS_HSCROLL styles
authorJulian Smart <julian@anthemion.co.uk>
Tue, 24 Aug 1999 08:24:36 +0000 (08:24 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 24 Aug 1999 08:24:36 +0000 (08:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/choice.cpp

index 3f104ea206f77736dd65906130a2c019b8f1d13e..84d90c83b055c06f7b5a75b3c89e745e2e1fc49e 100644 (file)
@@ -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;