int n = 0, const wxString choices[] = NULL,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxListBoxNameStr)
+ const wxString& name = wxListBoxNameStr):
+ m_clientDataList(wxKEY_INTEGER)
{
Create(parent, id, pos, size, n, choices, style, validator, name);
}
void Command(wxCommandEvent& event);
- protected:
+// Implementation
+ virtual void ChangeFont();
+ virtual void ChangeBackgroundColour();
+ virtual void ChangeForegroundColour();
+ WXWidget GetTopWidget() const;
+
+protected:
int m_noItems;
int m_selected;
+
+ // List mapping positions->client data
+ wxList m_clientDataList;
};
#endif