X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4db172a3b318df9aff178eb6c5da149d56e0859..24aab8e81a8627802e4111d9c99a50ece8d0026e:/src/xrc/xh_chckl.cpp?ds=sidebyside diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index 067f3cf7c0..04fb3b78da 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -22,10 +22,9 @@ #ifndef WX_PRECOMP #include "wx/intl.h" #include "wx/log.h" + #include "wx/checklst.h" #endif -#include "wx/checklst.h" - IMPLEMENT_DYNAMIC_CLASS(wxCheckListBoxXmlHandler, wxXmlResourceHandler) wxCheckListBoxXmlHandler::wxCheckListBoxXmlHandler() @@ -114,7 +113,7 @@ wxObject *wxCheckListBoxXmlHandler::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; }