i != prefixes.end();
++i )
{
+ if (i->length() == 0)
+ continue;
wxDir dir;
if ( !dir.Open(*i) )
continue;
data.prefix.MakeLower(); // resource names are case insensitive
if ( !EnumResourceNames(GetModule(),
- GetResourceType(),
+ GetResourceType().t_str(),
EnumTranslations,
reinterpret_cast<LONG_PTR>(&data)) )
{