#include "wx/sizer.h"
#include "widgets.h"
-
+#if 1
#include "icons/combobox.xpm"
// ----------------------------------------------------------------------------
0, NULL,
0);
sizerRight->Add(m_combobox, 1, wxGROW | wxALL, 5);
- sizerRight->SetMinSize(250, 0);
+ sizerRight->SetMinSize(150, 0);
m_sizerCombo = sizerRight; // save it to modify it later
// the 3 panes panes compose the window
{
unsigned long n;
event.Enable(m_textDelete->GetValue().ToULong(&n) &&
- (n < (unsigned)m_combobox->GetCount()));
+ (n < (unsigned)m_combobox->GetCount()));
}
}
void ComboboxWidgetsPage::OnComboText(wxCommandEvent& event)
{
if (!m_combobox)
- return;
-
+ return;
+
wxString s = event.GetString();
wxASSERT_MSG( s == m_combobox->GetValue(),
#endif //wxUSE_COMBOBOX
+#endif