]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/volume.cpp
use standard colour for the selected tree item text as well as background
[wxWidgets.git] / src / msw / volume.cpp
index df62ac3e97cdde6467e41e67c52cbf0bd41b4234..bb81bbf9e9a6bcd41e925367880dccf8181971f1 100644 (file)
@@ -41,9 +41,6 @@
 
 #include "wx/volume.h"
 
-// Win32 headers
-#include <shlobj.h>
-
 #ifndef SHGFI_ATTRIBUTES
     #define SHGFI_ATTRIBUTES 2048
 #endif
@@ -99,6 +96,15 @@ struct FileInfo : public wxObject
 {
     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;
 };
@@ -109,7 +115,8 @@ static FileInfoMap s_fileInfo(25);
 // Other initialization.
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 #if wxUSE_GUI
-WX_DEFINE_OBJARRAY(wxIconArray);
+// already in wx/iconbndl.h
+// WX_DEFINE_OBJARRAY(wxIconArray);
 #endif
 
 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++