From b7379c0e711ff16ae7aa3d3064898d84e74b9a4c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 14 Apr 2010 00:10:21 +0000 Subject: [PATCH] Another compilation fix to wxMimeTypesManager, this time in Unicode build. Fix another problem introduced by backporting the fix from the trunk in r63936. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/mimetype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index d041ccc8c7..15020a148d 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -1532,9 +1532,9 @@ void wxMimeTypesManagerImpl::InitIfNeeded() { wxString wm = traits->GetDesktopEnvironment(); - if ( wm == "KDE" ) + if ( wm == wxT("KDE") ) mailcapStyles = wxMAILCAP_KDE; - else if ( wm == "GNOME" ) + else if ( wm == wxT("GNOME") ) mailcapStyles = wxMAILCAP_GNOME; //else: unknown, use the default }