git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46202
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static wxLocaleUntranslatedStrings s_strings;
wxLocaleUntranslatedStrings::iterator i = s_strings.find(str);
static wxLocaleUntranslatedStrings s_strings;
wxLocaleUntranslatedStrings::iterator i = s_strings.find(str);
- if ( i != s_strings.end() )
- return *i;
- else
+ if ( i == s_strings.end() )
return *s_strings.insert(str).first;
return *i;
return *s_strings.insert(str).first;
return *i;