X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc26eeb36a7415bd73d3e442c79b7acc0aeed6eb..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/xrc/xh_radbx.cpp diff --git a/src/xrc/xh_radbx.cpp b/src/xrc/xh_radbx.cpp index 2b5a066b1d..dbbf54b5e4 100644 --- a/src/xrc/xh_radbx.cpp +++ b/src/xrc/xh_radbx.cpp @@ -109,18 +109,18 @@ wxObject *wxRadioBoxXmlHandler::DoCreateResource() wxString str = GetNodeContent(m_node); wxString tooltip; - m_node->GetPropVal(wxT("tooltip"), &tooltip); + m_node->GetAttribute(wxT("tooltip"), &tooltip); wxString helptext; - bool hasHelptext = m_node->GetPropVal(wxT("helptext"), &helptext); + bool hasHelptext = m_node->GetAttribute(wxT("helptext"), &helptext); 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);