]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/filedlgg.cpp
Don't mark "." and ".." for translation when they are used as a check that the user...
[wxWidgets.git] / src / generic / filedlgg.cpp
index d513ec128137e984e5b772e612726dafccbc28ec..f159065ef9cdace8d1a4a9079ec320d0a0b440ff 100644 (file)
@@ -821,8 +821,8 @@ void wxFileCtrl::OnListEndLabelEdit( wxListEvent &event )
     wxASSERT( fd );
 
     if ((event.GetLabel().empty()) ||
-        (event.GetLabel() == _(".")) ||
-        (event.GetLabel() == _("..")) ||
+        (event.GetLabel() == wxT(".")) ||
+        (event.GetLabel() == wxT("..")) ||
         (event.GetLabel().First( wxFILE_SEP_PATH ) != wxNOT_FOUND))
     {
         wxMessageDialog dialog(this, _("Illegal directory name."), _("Error"), wxOK | wxICON_ERROR );