Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (2 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/themeprovider.cpp

    r130 r3185  
    8282        std::list<wxString> dirs = GetSearchDirs(size);
    8383
    84         wxString name = id.Mid(4);
    85 
    8684        // The ART_* IDs are always given in uppercase ASCII,
    8785        // all filenames used by FileZilla for the resources
    8886        // are lowercase ASCII. Locale-independent transformation
    8987        // needed e.g. if using Turkish locale.
    90         MakeLowerAscii(name);
    91 
     88        wxString name = fz::str_tolower_ascii(id.Mid(4));
     89       
    9290        wxLogNull logNull;
    9391
     
    119117        std::list<wxString> dirs = GetSearchDirs(size);
    120118
    121         wxString name = id.Mid(4);
    122 
    123119        // The ART_* IDs are always given in uppercase ASCII,
    124120        // all filenames used by FileZilla for the resources
    125121        // are lowercase ASCII. Locale-independent transformation
    126122        // needed e.g. if using Turkish locale.
    127         MakeLowerAscii(name);
     123        wxString name = fz::str_tolower_ascii(id.Mid(4));
    128124
    129125        wxLogNull logNull;
     
    236232}
    237233
    238 wxIconBundle CThemeProvider::GetIconBundle(const wxArtID& id, const wxArtClient& client /*=wxART_OTHER*/)
     234wxIconBundle CThemeProvider::GetIconBundle(const wxArtID& id, const wxArtClient&)
    239235{
    240236        wxIconBundle iconBundle;
     
    243239                return iconBundle;
    244240
    245         wxString name = id.Mid(4);
    246         MakeLowerAscii(name);
     241        wxString name = fz::str_tolower_ascii(id.Mid(4));
    247242
    248243        const wxChar* dirs[] = { _T("16x16/"), _T("32x32/"), _T("48x48/") };
     
    295290}
    296291
    297 void CThemeProvider::OnOptionsChanged(changed_options_t const& options)
     292void CThemeProvider::OnOptionsChanged(changed_options_t const&)
    298293{
    299294        m_themePath = GetThemePath();
Note: See TracChangeset for help on using the changeset viewer.