X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..02fd8b9b6186623ed61019ac7e69ed9a4ef16773:/samples/widgets/itemcontainer.h diff --git a/samples/widgets/itemcontainer.h b/samples/widgets/itemcontainer.h index 30d79ec558..f2ef6cb174 100644 --- a/samples/widgets/itemcontainer.h +++ b/samples/widgets/itemcontainer.h @@ -10,9 +10,6 @@ #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;