+ // Parse the filename: it may be of the form
+ // filename;n in order to specify the nth icon in the file.
+ // For the moment, ignore the issue of possible semicolons in the filename.
+ int iconIndex = 0;
+ wxString name1(name);
+ wxString strIconIndex = name.AfterLast(wxT(';'));
+ if (strIconIndex != name)
+ {
+ iconIndex = wxAtoi(strIconIndex);
+ name1 = name.BeforeLast(wxT(';'));
+ }
+