]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/artprov/artbrows.cpp
use WX_STATVFS_T instead of trying to guess statvfs() argument
[wxWidgets.git] / samples / artprov / artbrows.cpp
index 359130f9a4b5fa8c200c1f740e357e7f4fdff740..66d967ee0e421bb038ad3b555eb56af4a105e443 100644 (file)
@@ -25,6 +25,7 @@
     #include "wx/choice.h"
 #endif
 
+#include "wx/listctrl.h"
 #include "wx/sizer.h"
 #include "wx/imaglist.h"
 #include "wx/listctrl.h"
@@ -32,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; \
@@ -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++; \
     }