#include "wx/checklst.h"
#include "widgets.h"
-
+#if 1
#include "icons/listbox.xpm"
// ----------------------------------------------------------------------------
*m_textDelete;
private:
- DECLARE_EVENT_TABLE();
- DECLARE_WIDGETS_PAGE(ListboxWidgetsPage);
+ DECLARE_EVENT_TABLE()
+ DECLARE_WIDGETS_PAGE(ListboxWidgetsPage)
};
// ----------------------------------------------------------------------------
0, NULL,
wxLB_HSCROLL);
sizerRight->Add(m_lbox, 1, wxGROW | wxALL, 5);
- sizerRight->SetMinSize(250, 0);
+ sizerRight->SetMinSize(150, 0);
m_sizerLbox = sizerRight; // save it to modify it later
// the 3 panes panes compose the window
delete m_lbox;
}
+#if wxUSE_CHECKLISTBOX
if ( m_chkCheck->GetValue() )
{
m_lbox = new wxCheckListBox(this, ListboxPage_Listbox,
flags);
}
else // just a listbox
+#endif
{
m_lbox = new wxListBox(this, ListboxPage_Listbox,
wxDefaultPosition, wxDefaultSize,
CreateLbox();
}
+#endif
\ No newline at end of file