git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11082
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int iconIndex = 0;
wxString name1(name);
wxString strIconIndex = name.AfterLast(wxT(';'));
int iconIndex = 0;
wxString name1(name);
wxString strIconIndex = name.AfterLast(wxT(';'));
- if (!strIconIndex.IsEmpty())
+ if (strIconIndex != name)
{
iconIndex = wxAtoi(strIconIndex);
name1 = name.BeforeLast(wxT(';'));
{
iconIndex = wxAtoi(strIconIndex);
name1 = name.BeforeLast(wxT(';'));