- virtual void SetColumns(int WXUNUSED(n) = 1 ) { /* No effect */ }
- virtual int GetColumns() const { return 1 ; }
+protected:
+ // common part of all ctors
+ void Init() { m_lastAcceptedSelection = wxID_NONE; }
+
+ virtual int DoAppend(const wxString& item);
+ virtual int DoInsert(const wxString& item, unsigned int pos);
+ virtual void DoMoveWindow(int x, int y, int width, int height);
+ 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;
+
+ // MSW implementation
+ virtual wxSize DoGetBestSize() const;
+ virtual void DoGetSize(int *w, int *h) const;
+ virtual void DoSetSize(int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);