X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a673eb1c9942cbdda6486bda330aeef0d43321a..9969fdfeeac8e619d5e0828b4195c58c1129975c:/src/xrc/xh_listb.cpp diff --git a/src/xrc/xh_listb.cpp b/src/xrc/xh_listb.cpp index 0deaa03bed..a319449d20 100644 --- a/src/xrc/xh_listb.cpp +++ b/src/xrc/xh_listb.cpp @@ -88,7 +88,7 @@ wxObject *wxListBoxXmlHandler::DoCreateResource() // add to the list wxString str = GetNodeContent(m_node); if (m_resource->GetFlags() & wxXRC_USE_LOCALE) - str = wxGetTranslation(str); + str = wxGetTranslation(str, m_resource->GetDomain()); strList.Add(str); return NULL;