- // wxCheckListBox support
-#if wxUSE_OWNER_DRAWN
- // plug-in for derived classes
- virtual wxOwnerDrawn *CreateItem(size_t n);
-
- // allows to get the item and use SetXXX functions to set it's appearance
- wxOwnerDrawn *GetItem(size_t n) const { return m_aItems[n]; }
-
- // get the index of the given item
- int GetItemIndex(wxOwnerDrawn *item) const { return m_aItems.Index(item); }
-#endif // wxUSE_OWNER_DRAWN
-
- // Windows callbacks
-
- virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ;
- virtual bool MacCanFocus() const { return true ; }
- void OnChar(wxKeyEvent& event);
-
- void* m_macList ;
- wxArrayString m_stringArray ;
- wxListDataArray m_dataArray ;
- wxArrayInt m_selectionPreImage ;
- wxArrayLong m_idArray ;
- wxUint32 m_nextId ;
-
- void MacSetRedraw( bool doDraw ) ;