Blind fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -117,6 +117,24 @@
|
|||||||
#define LVCFMT_BITMAP_ON_RIGHT 0x1000
|
#define LVCFMT_BITMAP_ON_RIGHT 0x1000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__GNUWIN32__) && !defined(LV_ITEM) \
|
||||||
|
&& !wxCHECK_W32API_VERSION( 0, 5 )
|
||||||
|
typedef struct _LVITEMW {
|
||||||
|
UINT mask;
|
||||||
|
int iItem;
|
||||||
|
int iSubItem;
|
||||||
|
UINT state;
|
||||||
|
UINT stateMask;
|
||||||
|
LPWSTR pszText;
|
||||||
|
int cchTextMax;
|
||||||
|
int iImage;
|
||||||
|
LPARAM lParam;
|
||||||
|
#if (_WIN32_IE >= 0x0300)
|
||||||
|
int iIndent;
|
||||||
|
#endif
|
||||||
|
} LV_ITEMW;
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// private functions
|
// private functions
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -44,6 +44,30 @@
|
|||||||
// Win32 headers
|
// Win32 headers
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
|
|
||||||
|
#ifndef SHGFI_ATTRIBUTES
|
||||||
|
#define SHGFI_ATTRIBUTES 2048
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SFGAO_READONLY
|
||||||
|
#define SFGAO_READONLY 0x00040000L
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SFGAO_REMOVABLE
|
||||||
|
#define SFGAO_REMOVABLE 0x02000000L
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SHGFI_DISPLAYNAME
|
||||||
|
#define SHGFI_DISPLAYNAME 512
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SHGFI_ICON
|
||||||
|
#define SHGFI_ICON 256
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef SHGFI_SMALLICON
|
||||||
|
#define SHGFI_SMALLICON 1
|
||||||
|
#endif
|
||||||
|
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
// Dynamic library function defs.
|
// Dynamic library function defs.
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
@@ -76,7 +100,9 @@ static FileInfoMap s_fileInfo(25);
|
|||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
// Other initialization.
|
// Other initialization.
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
#if wxUSE_GUI
|
||||||
WX_DEFINE_OBJARRAY(wxIconArray);
|
WX_DEFINE_OBJARRAY(wxIconArray);
|
||||||
|
#endif
|
||||||
|
|
||||||
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
// Local helper functions.
|
// Local helper functions.
|
||||||
@@ -477,7 +503,7 @@ bool wxFSVolume::Create(const wxString& name)
|
|||||||
}
|
}
|
||||||
m_dispName = fi.szDisplayName;
|
m_dispName = fi.szDisplayName;
|
||||||
|
|
||||||
#ifdef wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
|
||||||
m_icons.Alloc(wxFS_VOL_ICO_MAX);
|
m_icons.Alloc(wxFS_VOL_ICO_MAX);
|
||||||
int idx;
|
int idx;
|
||||||
@@ -535,7 +561,7 @@ int wxFSVolume::GetFlags() const
|
|||||||
return itr->second.m_flags;
|
return itr->second.m_flags;
|
||||||
} // GetFlags
|
} // GetFlags
|
||||||
|
|
||||||
#ifdef wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
// Function: GetIcon
|
// Function: GetIcon
|
||||||
|
Reference in New Issue
Block a user