#include "widgets.h"
-// define a common base class for sorted and normal string arrays
-#if wxUSE_STL
- typedef wxBaseArrayStringBase wxMaybeSortedArrayString;
-#else
- // in non-STL build wxSortedArrayString derives from wxArrayString
- typedef wxArrayString wxMaybeSortedArrayString;
-#endif
-
class ItemContainerWidgetsPage : public WidgetsPage
{
public:
private:
void StartTest(const wxString& label);
- void EndTest(const wxMaybeSortedArrayString& result);
+ void EndTest(const wxArrayString& result);
// Track client data in wxItemContainer instances
wxClientData* CreateClientData(int value);
bool VerifyAllClientDataDestroyed();
bool VerifyClientData(wxUIntPtr i, const wxString& str);
- wxString DumpContainerData(const wxMaybeSortedArrayString& expected) const;
+ wxString DumpContainerData(const wxArrayString& expected) const;
+
+ static wxArrayString MakeArray(const wxSortedArrayString& sorted);
wxArrayString m_items;
wxSortedArrayString m_itemsSorted;