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
This commit is contained in:
@@ -1532,9 +1532,9 @@ void wxMimeTypesManagerImpl::InitIfNeeded()
|
|||||||
{
|
{
|
||||||
wxString wm = traits->GetDesktopEnvironment();
|
wxString wm = traits->GetDesktopEnvironment();
|
||||||
|
|
||||||
if ( wm == "KDE" )
|
if ( wm == wxT("KDE") )
|
||||||
mailcapStyles = wxMAILCAP_KDE;
|
mailcapStyles = wxMAILCAP_KDE;
|
||||||
else if ( wm == "GNOME" )
|
else if ( wm == wxT("GNOME") )
|
||||||
mailcapStyles = wxMAILCAP_GNOME;
|
mailcapStyles = wxMAILCAP_GNOME;
|
||||||
//else: unknown, use the default
|
//else: unknown, use the default
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user