Added LV_ITEMA and used a #define for LV_ITEM to

avoid mysterious compilo under Mingw32 2.95.2
Added #defines for SHGetFileInfo for Mingw32 2.95.2
in volume.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-09-08 10:28:15 +00:00
parent 59b9a2607a
commit eaeeb91eb6
2 changed files with 28 additions and 1 deletions

View File

@@ -41,6 +41,16 @@
#include "wx/volume.h"
#include <shellapi.h>
#ifndef SHGetFileInfo
#ifdef UNICODE
#define SHGetFileInfo SHGetFileInfoW
#else
#define SHGetFileInfo SHGetFileInfoA
#endif
#endif
#ifndef SHGFI_ATTRIBUTES
#define SHGFI_ATTRIBUTES 2048
#endif