]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/choice.cpp
set tooltip to be TOPMOST
[wxWidgets.git] / 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;