X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef43e62e77f166157029b852d0ac197fc0fba135..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_choic.cpp diff --git a/src/xrc/xh_choic.cpp b/src/xrc/xh_choic.cpp index c26bf71eea..04b726e7c0 100644 --- a/src/xrc/xh_choic.cpp +++ b/src/xrc/xh_choic.cpp @@ -82,7 +82,7 @@ wxObject *wxChoiceXmlHandler::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;