]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dlmsw.cpp
Unicode-related compile fixes
[wxWidgets.git] / src / msw / dlmsw.cpp
index e517bcc3657352bd2db6fd066217d0b7d33a3068..ac4f88b1b994b570f176c41d59f179068db79c8c 100644 (file)
@@ -205,7 +205,10 @@ wxString wxVersionDLL::GetFileVersion(const wxString& filename) const
             {
                 void *pVer;
                 UINT sizeInfo;
-                if ( m_pfnVerQueryValue(buf.data(), _T("\\"), &pVer, &sizeInfo) )
+                if ( m_pfnVerQueryValue(buf.data(),
+                                        const_cast<wxChar *>(_T("\\")),
+                                        &pVer,
+                                        &sizeInfo) )
                 {
                     VS_FIXEDFILEINFO *info = (VS_FIXEDFILEINFO *)pVer;
                     ver.Printf(_T("%d.%d.%d.%d"),