X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc26eeb36a7415bd73d3e442c79b7acc0aeed6eb..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_radbx.cpp diff --git a/src/xrc/xh_radbx.cpp b/src/xrc/xh_radbx.cpp index 2b5a066b1d..5cf6472c5b 100644 --- a/src/xrc/xh_radbx.cpp +++ b/src/xrc/xh_radbx.cpp @@ -116,11 +116,11 @@ wxObject *wxRadioBoxXmlHandler::DoCreateResource() if (m_resource->GetFlags() & wxXRC_USE_LOCALE) { - str = wxGetTranslation(str); + str = wxGetTranslation(str, m_resource->GetDomain()); if ( !tooltip.empty() ) - tooltip = wxGetTranslation(tooltip); + tooltip = wxGetTranslation(tooltip, m_resource->GetDomain()); if ( hasHelptext ) - helptext = wxGetTranslation(helptext); + helptext = wxGetTranslation(helptext, m_resource->GetDomain()); } labels.push_back(str);