]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
removed non-const accessors for pens, brushes, &c from wxDC
[wxWidgets.git] / samples / artprov / artbrows.cpp
index 7a9618b2afbc3e37ee526a965055350cfc0ae117..8215ad556044dbf5b17a2a2b4f771f95aec7f399 100644 (file)
@@ -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)
 }