]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicdgg.cpp
no changes, just de TABified
[wxWidgets.git] / src / generic / choicdgg.cpp
index 058ef02ac2450e8f221498a29b5df7a900e79b84..f36e0b2b7598dacf6b6400bf0a76ad25863fdd31 100644 (file)
@@ -435,10 +435,17 @@ bool wxMultiChoiceDialog::Create( wxWindow *parent,
                                   long style,
                                   const wxPoint& pos )
 {
+    long styleLbox;
+#if wxUSE_CHECKLISTBOX
+    styleLbox = wxLB_ALWAYS_SB;
+#else
+    styleLbox = wxLB_ALWAYS_SB | wxLB_EXTENDED;
+#endif
+    
     if ( !wxAnyChoiceDialog::Create(parent, message, caption,
                                     n, choices,
                                     style, pos,
-                                    wxLB_ALWAYS_SB | wxLB_EXTENDED) )
+                                    styleLbox) )
         return false;
 
     return true;