X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f7348b143f6ba1e5b772631f997cdce96b4a52d..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_choic.cpp?ds=sidebyside diff --git a/src/xrc/xh_choic.cpp b/src/xrc/xh_choic.cpp index c6ad605176..04b726e7c0 100644 --- a/src/xrc/xh_choic.cpp +++ b/src/xrc/xh_choic.cpp @@ -22,7 +22,6 @@ #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/choice.h" - #include "wx/combobox.h" #endif IMPLEMENT_DYNAMIC_CLASS(wxChoiceXmlHandler, wxXmlResourceHandler) @@ -83,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;