X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5f6475c145b713efc0c3d8b482338438e927b763..4ed85025f3ba537206f70f3dd10466e16da926d4:/include/wx/msw/wrapshl.h diff --git a/include/wx/msw/wrapshl.h b/include/wx/msw/wrapshl.h index 5cef66c033..25585112e1 100644 --- a/include/wx/msw/wrapshl.h +++ b/include/wx/msw/wrapshl.h @@ -12,16 +12,21 @@ #ifndef _WX_MSW_WRAPSHL_H_ #define _WX_MSW_WRAPSHL_H_ +#include "wx/msw/wrapwin.h" + #ifdef __WXWINCE__ #include #include #include + #include #endif #include #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