]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
free argv in Unicode build
[wxWidgets.git] / samples / artprov / artbrows.cpp
index 7a9618b2afbc3e37ee526a965055350cfc0ae117..66d967ee0e421bb038ad3b555eb56af4a105e443 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++; \
     }