X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e173f35d2a8177371d13d059d9f897e2c4f98be..761df41e86ceeed56d32c038a6c9f88554d4f47a:/samples/widgets/listbox.cpp diff --git a/samples/widgets/listbox.cpp b/samples/widgets/listbox.cpp index 7541db358b..43cb38118d 100644 --- a/samples/widgets/listbox.cpp +++ b/samples/widgets/listbox.cpp @@ -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,