]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapshl.h
synchronize GTK2 minimum version in docs
[wxWidgets.git] / include / wx / msw / wrapshl.h
index 5cef66c0333baca5dd628f572ce469703e8bef9f..25585112e1a28bcd444a6a497ad5cd48ca2bba5d 100644 (file)
 #ifndef _WX_MSW_WRAPSHL_H_
 #define _WX_MSW_WRAPSHL_H_
 
+#include "wx/msw/wrapwin.h"
+
 #ifdef __WXWINCE__
     #include <winreg.h>
     #include <objbase.h>
     #include <shlguid.h>
+    #include <shellapi.h>
 #endif
 
 #include <shlobj.h>
 
 #include "wx/msw/winundef.h"
 
+#include "wx/log.h"
+
 // ----------------------------------------------------------------------------
 // wxItemIdList implements RAII on top of ITEMIDLIST
 // ----------------------------------------------------------------------------
@@ -67,7 +72,7 @@ public:
         wxString path;
         if ( !SHGetPathFromIDList(m_pidl, wxStringBuffer(path, MAX_PATH)) )
         {
-            wxLogLastError(_T("SHGetPathFromIDList"));
+            wxLogLastError(wxT("SHGetPathFromIDList"));
         }
 
         return path;
@@ -76,7 +81,7 @@ public:
 private:
     LPITEMIDLIST m_pidl;
 
-    DECLARE_NO_COPY_CLASS(wxItemIdList)
+    wxDECLARE_NO_COPY_CLASS(wxItemIdList);
 };
 
 // enable autocompleting filenames in the text control with given HWND