X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5273bf2fd3292ec3ab3da4f0c197b2f0e93df32e..abcbaea73fa07b88ac681c78ea6933ba70a6fd72:/include/wx/mac/choice.h?ds=inline diff --git a/include/wx/mac/choice.h b/include/wx/mac/choice.h index 998f06d203..82c7a52228 100644 --- a/include/wx/mac/choice.h +++ b/include/wx/mac/choice.h @@ -27,11 +27,14 @@ WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ; // Choice item class WXDLLEXPORT wxChoice: public wxChoiceBase { - DECLARE_DYNAMIC_CLASS(wxChoice) - - public: - wxChoice() {} - virtual ~wxChoice() ; + DECLARE_DYNAMIC_CLASS(wxChoice) + +public: + wxChoice() + : m_strings(), m_datas(), m_macPopUpMenuHandle(NULL) + {} + + virtual ~wxChoice() ; wxChoice(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition,