X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5569657a0667008c72459f3ec09d7750eb7343a..a22be3e1fcf362850fe33d52d55518ad68b98d02:/include/wx/os2/control.h diff --git a/include/wx/os2/control.h b/include/wx/os2/control.h index 604e2f1a79..af4e392ff1 100644 --- a/include/wx/os2/control.h +++ b/include/wx/os2/control.h @@ -12,6 +12,8 @@ #ifndef _WX_CONTROL_H_ #define _WX_CONTROL_H_ +#include "wx/dynarray.h" + WXDLLEXPORT_DATA(extern const wxChar*) wxControlNameStr; // General item class @@ -59,7 +61,7 @@ public: 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); @@ -83,7 +85,7 @@ protected: protected: // For controls like radiobuttons which are really composite - wxList m_subControls; + wxArrayLong m_subControls; virtual wxSize DoGetBestSize() const;