X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccb42cc5c8fae331899b71a6ac1c2c039789ab24..fc2171bd4c660b8554dae2a1cbf34ff09f3032a6:/samples/artprov/artbrows.cpp?ds=sidebyside diff --git a/samples/artprov/artbrows.cpp b/samples/artprov/artbrows.cpp index cbc1802c6a..8215ad5560 100644 --- a/samples/artprov/artbrows.cpp +++ b/samples/artprov/artbrows.cpp @@ -22,17 +22,18 @@ #ifndef WX_PRECOMP #include "wx/wx.h" - #include "wx/listctrl.h" #include "wx/choice.h" #endif +#include "wx/listctrl.h" #include "wx/sizer.h" #include "wx/imaglist.h" +#include "wx/listctrl.h" #include "artbrows.h" #define ART_CLIENT(id) \ - choice->Append(#id, (void*)id); + choice->Append(_T(#id), (void*)id); #define ART_ICON(id) \ { \ int ind; \ @@ -41,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++; \ } @@ -95,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) }