]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/combobox.cpp
switched back to old use of DrawBitmap for transparent bitmaps
[wxWidgets.git] / src / msw / combobox.cpp
index 8d6d7eada7d8f4af649890a8f42daa139c8503fb..903b6b5e7caddd3d72a4ced3ae7d0988a6b3e17f 100644 (file)
@@ -96,8 +96,8 @@ bool wxComboBox::Create(wxWindow *parent, wxWindowID id,
   int width = size.x;
   int height = size.y;
 
-  long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL |
-      CBS_NOINTEGRALHEIGHT;
+  long msStyle = WS_CHILD | WS_TABSTOP | WS_VISIBLE |
+                 WS_VSCROLL | WS_HSCROLL | CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT;
 
   if (m_windowStyle & wxCB_READONLY)
     msStyle |= CBS_DROPDOWNLIST;