X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7435c322d4fb35ac4eae843a0184207f5040071..ff64116225fc4e7b330291f84e8df2e4e9d67f25:/samples/artprov/artbrows.cpp diff --git a/samples/artprov/artbrows.cpp b/samples/artprov/artbrows.cpp index 7a9618b2af..8215ad5560 100644 --- a/samples/artprov/artbrows.cpp +++ b/samples/artprov/artbrows.cpp @@ -33,7 +33,7 @@ #include "artbrows.h" #define ART_CLIENT(id) \ - choice->Append(#id, (void*)id); + choice->Append(_T(#id), (void*)id); #define ART_ICON(id) \ { \ int ind; \ @@ -42,7 +42,7 @@ ind = images->Add(icon); \ else \ ind = 0; \ - list->InsertItem(index, #id, ind); \ + list->InsertItem(index, _T(#id), ind); \ list->SetItemData(index, (long)id); \ index++; \ } @@ -96,6 +96,7 @@ static void FillBitmaps(wxImageList *images, wxListCtrl *list, ART_ICON(wxART_NORMAL_FILE) ART_ICON(wxART_TICK_MARK) ART_ICON(wxART_CROSS_MARK) + ART_ICON(wxART_MISSING_IMAGE) }