X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c8a980fc412792e64256724e02e9d387ee38e21..8cb9f0d0f82650b707adc39823a73531d080ffec:/include/wx/msw/choice.h diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index c098da4a0b..f60a023057 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -27,6 +27,7 @@ class WXDLLEXPORT wxChoice : public wxChoiceBase public: // ctors wxChoice() { } + virtual ~wxChoice(); wxChoice(wxWindow *parent, wxWindowID id, @@ -73,10 +74,13 @@ protected: 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_