From 084a8ee85c24fbc7077d6c789c97aacdb31b4e39 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 8 Jun 2014 00:45:49 +0200 Subject: wxWidgets 3.0 compatibility modifications --- src/Main/Forms/MainFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Main/Forms/MainFrame.cpp') diff --git a/src/Main/Forms/MainFrame.cpp b/src/Main/Forms/MainFrame.cpp index 6100a7ab..3443ea3b 100644 --- a/src/Main/Forms/MainFrame.cpp +++ b/src/Main/Forms/MainFrame.cpp @@ -828,7 +828,7 @@ namespace TrueCrypt // File-hosted volumes if (!volume->Path.IsDevice() && !mountPoint.IsEmpty()) { - if (wxString (volume->Path).Upper().StartsWith (wstring (mountPoint).c_str())) + if (wxString (wstring(volume->Path)).Upper().StartsWith (wstring (mountPoint).c_str())) { removedVolumes.push_back (volume); continue; -- cgit v1.2.3