]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for GetAvailableTranslations().
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jun 2010 13:04:25 +0000 (13:04 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 17 Jun 2010 13:04:25 +0000 (13:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/translation.cpp

index 71a16ca84726251bb0b4cdbdd058275f18d2ef9a..83b61312942e2f265b50bbb56c6105cdfe7db261 100644 (file)
@@ -1294,7 +1294,7 @@ void wxTranslations::SetLanguage(const wxString& lang)
 
 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);
 }