#ifndef _WX_CONTROL_H_
#define _WX_CONTROL_H_
+#include "wx/dynarray.h"
+
WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr;
// General item class
virtual bool OS2OnDraw(WXDRAWITEMSTRUCT *WXUNUSED(item)) { return FALSE; };
virtual bool OS2OnMeasure(WXMEASUREITEMSTRUCT *WXUNUSED(item)) { return FALSE; };
- wxList& GetSubcontrols() { return m_subControls; }
+ wxArrayLong& GetSubcontrols() { return m_subControls; }
void OnEraseBackground(wxEraseEvent& event);
protected:
// For controls like radiobuttons which are really composite
- wxList m_subControls;
+ wxArrayLong m_subControls;
virtual wxSize DoGetBestSize() const;