wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) const
{
- wxCHECK_MSG( m_loader, false, "loader can't be NULL" );
+ wxCHECK_MSG( m_loader, wxArrayString(), "loader can't be NULL" );
return m_loader->GetAvailableTranslations(domain);
}
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)) )
{