X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1032aee2d4fcf5d13377eefaaa2ab627462a8f05..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/msw/wrapshl.h diff --git a/include/wx/msw/wrapshl.h b/include/wx/msw/wrapshl.h index 472df7511d..25585112e1 100644 --- a/include/wx/msw/wrapshl.h +++ b/include/wx/msw/wrapshl.h @@ -25,6 +25,8 @@ #include "wx/msw/winundef.h" +#include "wx/log.h" + // ---------------------------------------------------------------------------- // wxItemIdList implements RAII on top of ITEMIDLIST // ---------------------------------------------------------------------------- @@ -70,7 +72,7 @@ public: wxString path; if ( !SHGetPathFromIDList(m_pidl, wxStringBuffer(path, MAX_PATH)) ) { - wxLogLastError(_T("SHGetPathFromIDList")); + wxLogLastError(wxT("SHGetPathFromIDList")); } return path; @@ -79,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