Remove more wxT() macros from samples

Also use wxString instead of wxChar* strings.

Closes https://github.com/wxWidgets/wxWidgets/pull/950
This commit is contained in:
Blake Eryx
2018-09-28 21:45:15 -04:00
committed by Vadim Zeitlin
parent 480047ee9a
commit b70ed2d8c8
67 changed files with 1926 additions and 1932 deletions

View File

@@ -28,7 +28,7 @@
#include "artbrows.h"
#define ART_CLIENT(id) \
choice->Append(wxT(#id), (void*)id);
choice->Append(#id, (void*)id);
#define ART_ICON(id) \
{ \
int ind; \
@@ -37,7 +37,7 @@
ind = images->Add(icon); \
else \
ind = 0; \
list->InsertItem(index, wxT(#id), ind); \
list->InsertItem(index, #id, ind); \
list->SetItemPtrData(index, wxPtrToUInt(id)); \
index++; \
}