]> git.saurik.com Git - wxWidgets.git/commitdiff
Added WS_VSCROLL and WSHSCROLL styles again
authorJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jan 2000 21:53:19 +0000 (21:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 24 Jan 2000 21:53:19 +0000 (21:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/combobox.cpp

index d250452a79185615e687563c33465cfe7038a731..903b6b5e7caddd3d72a4ced3ae7d0988a6b3e17f 100644 (file)
@@ -97,7 +97,7 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
   int height = size.y;
 
   long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE |
   int height = size.y;
 
   long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE |
-                 CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT;
+                 WS_VSCROLL | WS_HSCROLL | CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT;
 
   if (m_windowStyle & wxCB_READONLY)
     msStyle |= CBS_DROPDOWNLIST;
 
   if (m_windowStyle & wxCB_READONLY)
     msStyle |= CBS_DROPDOWNLIST;