]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/translation.cpp
Add wxDataViewCtrl::GTKPathToItem() function and use it.
[wxWidgets.git] / src / common / translation.cpp
index 23b57a056ce3339b3ac83446ebcebedb128eb19c..c6bb8440e0b53a86a3996d833ea0620bf7e811a2 100644 (file)
@@ -1741,6 +1741,8 @@ wxArrayString wxFileTranslationsLoader::GetAvailableTranslations(const wxString&
           i != prefixes.end();
           ++i )
     {
+        if (i->length() == 0)
+            continue;
         wxDir dir;
         if ( !dir.Open(*i) )
             continue;