]> git.saurik.com Git - wxWidgets.git/commitdiff
Restored the ability to scroll.
authorJulian Smart <julian@anthemion.co.uk>
Fri, 20 Aug 1999 10:10:58 +0000 (10:10 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 20 Aug 1999 10:10:58 +0000 (10:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/combobox.cpp

index cf49b661e85542931fb3d3812489d6401955b2c5..9f7c5b9752134e139b96f4326c76b32968c29156 100644 (file)
@@ -86,7 +86,8 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
   int width = size.x;
   int height = size.y;
 
-  long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE | CBS_NOINTEGRALHEIGHT;
+  long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL |
+      CBS_NOINTEGRALHEIGHT;
 
   if (m_windowStyle & wxCB_READONLY)
     msStyle |= CBS_DROPDOWNLIST;