X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5e173f35d2a8177371d13d059d9f897e2c4f98be..df744f4d6d1f9d093822980915b7802f95cb98fa:/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,