X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1032aee2d4fcf5d13377eefaaa2ab627462a8f05..4ed85025f3ba537206f70f3dd10466e16da926d4:/include/wx/msw/wrapshl.h?ds=inline 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