X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88a7a4e10ed18f81a576dcd866cfbf02bf404c00..26af4dbd0a733de7df04c50acde5b4747f7fff24:/src/xrc/xh_chckl.cpp?ds=inline diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index c72b37c77a..04fb3b78da 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -21,11 +21,10 @@ #ifndef WX_PRECOMP #include "wx/intl.h" + #include "wx/log.h" + #include "wx/checklst.h" #endif -#include "wx/checklst.h" -#include "wx/log.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; }