]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/listbox.cpp
corrections to dynamic loading for Darwin
[wxWidgets.git] / samples / widgets / listbox.cpp
index 7541db358b8cb88c48e89e5e87da1935770c63f6..43cb38118d018241ace6f736dff5ab45ca1c965d 100644 (file)
@@ -355,6 +355,7 @@ void ListboxWidgetsPage::CreateLbox()
         delete m_lbox;
     }
 
+#if wxUSE_CHECKLISTBOX
     if ( m_chkCheck->GetValue() )
     {
         m_lbox = new wxCheckListBox(this, ListboxPage_Listbox,
@@ -363,6 +364,7 @@ void ListboxWidgetsPage::CreateLbox()
                                     flags);
     }
     else // just a listbox
+#endif
     {
         m_lbox = new wxListBox(this, ListboxPage_Listbox,
                                wxDefaultPosition, wxDefaultSize,