- void MacDestroy() ;
- void MacDelete( int n ) ;
- void MacInsert( int n , const wxString& item) ;
- void MacAppend( const wxString& item) ;
- void MacSet( int n , const wxString& item ) ;
- void MacClear() ;
- void MacSetSelection( int n , bool select ) ;
- int MacGetSelection() const ;
- int MacGetSelections(wxArrayInt& aSelections) const ;
- bool MacIsSelected( int n ) const ;
- void MacScrollTo( int n ) ;
- void OnSize( wxSizeEvent &size ) ;
- void MacDoClick() ;
- void MacDoDoubleClick() ;
-
- // do we have multiple selections?
- bool HasMultipleSelection() const;
+ // common creation for all databrowser list implementations
+ wxMacListControl* CreateMacListControl(const wxPoint& pos, const wxSize& size, long style);
+
+ // internal storage for line n has changed, issue a redraw
+ void MacUpdateLine(int n);
+
+ virtual void DoSetSelection(int n, bool select);
+ virtual int DoAppend(const wxString& item);
+ virtual void DoInsertItems(const wxArrayString& items, unsigned int pos);
+ virtual void DoSetItems(const wxArrayString& items, void **clientData);
+ virtual void DoSetFirstItem(int n);
+ virtual void DoSetItemClientData(unsigned int n, void* clientData);
+ virtual void* DoGetItemClientData(unsigned int n) const;
+ virtual void DoSetItemClientObject(unsigned int n, wxClientData* clientData);
+ virtual wxClientData* DoGetItemClientObject(unsigned int n) const;
+ virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
+ virtual int DoListHitTest(const wxPoint& point) const;
+ virtual wxSize DoGetBestSize() const;