panel, // parent
Control_Listbox, // control id
wxPoint(10, 10), // listbox poistion
- wxSize(400, 200), // listbox size
+ wxSize(400, 100), // listbox size
WXSIZEOF(aszChoices), // number of strings
astrChoices // array of strings
);
delete [] astrChoices;
- // not implemented in wxGTK yet
-#ifndef __WXGTK__
+ // not implemented in other ports yet
+#ifdef __WXMSW__
// set grey background for every second entry
for ( ui = 0; ui < WXSIZEOF(aszChoices); ui += 2 ) {
m_pListBox->GetItem(ui)->SetBackgroundColour(wxColor(200, 200, 200));