]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
don't annoy the user by repeating the question which had been already answered (and...
[wxWidgets.git] / src / msw / listbox.cpp
index 408344a7b9eff6efe1fa20b10f51fbc87ad0c06f..462c26bb822ddd8c8297fb7c77b54811007ffa89 100644 (file)
@@ -160,6 +160,8 @@ bool wxListBox::Create(wxWindow *parent,
 
     wxASSERT_MSG( !(style & wxLB_MULTIPLE) || !(style & wxLB_EXTENDED),
                   _T("only one of listbox selection modes can be specified") );
+    if ( m_windowStyle & wxCLIP_SIBLINGS )
+        wstyle |= WS_CLIPSIBLINGS;
 
     if (m_windowStyle & wxLB_MULTIPLE)
         wstyle |= LBS_MULTIPLESEL;