]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/itemcontainer.h
fixing infinite recursion for rotated text, introduced in cleanup r57915
[wxWidgets.git] / samples / widgets / itemcontainer.h
index 30d79ec558b5299cd0d84508147cf9bee64296cc..f2ef6cb174b00ce74cb04d88a3d98b02d3c67cc1 100644 (file)
@@ -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;