]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/translation.cpp
Supress SetFocus() warning in wxVListBoxComboPopup
[wxWidgets.git] / src / common / translation.cpp
index 3aa38fc67577e31c342abf851fa508182d8fbadf..1e89106f9a1a3da03b5da416b3d7e8804f66470b 100644 (file)
@@ -1485,7 +1485,7 @@ const wxString& wxTranslations::GetString(const wxString& origString,
             TRACE_I18N,
             "string \"%s\"%s not found in %slocale '%s'.",
             origString,
-            ((long)n) != -1 ? wxString::Format("[%ld]", (long)n) : wxString(),
+            n != UINT_MAX ? wxString::Format("[%ld]", (long)n) : wxString(),
             !domain.empty() ? wxString::Format("domain '%s' ", domain) : wxString(),
             m_lang
         );