]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listbox.cpp
fixed wrong parsing of à (typo in tables)
[wxWidgets.git] / src / msw / listbox.cpp
index a2175877e775093e19ecf741cf21eb79de9c0c88..462c26bb822ddd8c8297fb7c77b54811007ffa89 100644 (file)
@@ -100,7 +100,7 @@ wxListBoxItem::wxListBoxItem(const wxString& str) : wxOwnerDrawn(str, FALSE)
     SetMarginWidth(0);
 }
 
-wxOwnerDrawn *wxListBox::CreateItem(size_t n)
+wxOwnerDrawn *wxListBox::CreateItem(size_t WXUNUSED(n))
 {
     return new wxListBoxItem();
 }
@@ -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;