X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..7737e2fd004685a23b18035545e3ed46515aab8a:/include/wx/motif/choice.h diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index 7532c50ba2..0f5ada2308 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -22,7 +22,7 @@ #endif // Choice item -class WXDLLEXPORT wxChoice: public wxChoiceBase +class WXDLLIMPEXP_CORE wxChoice: public wxChoiceBase { DECLARE_DYNAMIC_CLASS(wxChoice) @@ -99,19 +99,18 @@ public: // implementation, for wxChoiceCallback const wxWidgetArray& GetWidgets() const { return m_widgetArray; } - const wxStringList& GetStrings() const { return m_stringList; } + const wxArrayString& GetStrings() const { return m_stringArray; } protected: // minimum size for the text ctrl wxSize GetItemsSize() const; // common part of all contructors void Init(); - unsigned int m_noStrings; WXWidget m_menuWidget; WXWidget m_buttonWidget; wxWidgetArray m_widgetArray; WXWidget m_formWidget; - wxStringList m_stringList; + wxArrayString m_stringArray; virtual void DoSetSize(int x, int y, int width, int height,