#include "wx/volume.h"
-// Win32 headers
-#include <shlobj.h>
-
#ifndef SHGFI_ATTRIBUTES
#define SHGFI_ATTRIBUTES 2048
#endif
{
FileInfo(unsigned flag=0, wxFSVolumeKind type=wxFS_VOL_OTHER) :
m_flags(flag), m_type(type) {}
+
+ FileInfo(const FileInfo& other) { *this = other; }
+ FileInfo& operator=(const FileInfo& other)
+ {
+ m_flags = other.m_flags;
+ m_type = other.m_type;
+ return *this;
+ }
+
unsigned m_flags;
wxFSVolumeKind m_type;
};
// Other initialization.
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#if wxUSE_GUI
-WX_DEFINE_OBJARRAY(wxIconArray);
+// already in wx/iconbndl.h
+// WX_DEFINE_OBJARRAY(wxIconArray);
#endif
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++