X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..14619f10b0bdb630206607abd0ce0319d45e095a:/samples/widgets/itemcontainer.h diff --git a/samples/widgets/itemcontainer.h b/samples/widgets/itemcontainer.h index 30d79ec558..06b1231da3 100644 --- a/samples/widgets/itemcontainer.h +++ b/samples/widgets/itemcontainer.h @@ -4,15 +4,12 @@ // Purpose: Part of the widgets sample showing wxComboBox // Created: 20.07.07 // Id: $Id$ -// License: wxWindows license +// License: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_ #define _WX_SAMPLE_WIDGETS_ITEMCONTAINER_H_ -// for compilers that support precompilation, includes "wx/wx.h". -#include "wx/wxprec.h" - #include "widgets.h" class ItemContainerWidgetsPage : public WidgetsPage @@ -20,7 +17,7 @@ class ItemContainerWidgetsPage : public WidgetsPage public: ItemContainerWidgetsPage(WidgetsBookCtrl *book, wxImageList *image_list, - char* icon[]); + const char *const icon[]); virtual ~ItemContainerWidgetsPage(); void OnButtonTestItemContainer(wxCommandEvent& event); @@ -42,6 +39,8 @@ private: wxString DumpContainerData(const wxArrayString& expected) const; + static wxArrayString MakeArray(const wxSortedArrayString& sorted); + wxArrayString m_items; wxSortedArrayString m_itemsSorted; int m_trackedDataObjects;