public:
// ctors
wxChoice() { }
+ virtual ~wxChoice();
wxChoice(wxWindow *parent,
wxWindowID id,
virtual wxClientData* DoGetItemClientObject( int n ) const;
// MSW implementation
- virtual wxSize DoGetBestSize();
+ virtual wxSize DoGetBestSize() const;
virtual void DoSetSize(int x, int y,
int width, int height,
int sizeFlags = wxSIZE_AUTO);
+
+ // free all memory we have (used by Clear() and dtor)
+ void Free();
};
#endif // _WX_CHOICE_H_