]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_chckl.cpp
Use string.h instead of memory.h, since some system don't have memory.h and
[wxWidgets.git] / src / xrc / xh_chckl.cpp
index d3a8257cd3bf9efb69cd2140daac85274fc0b8a4..04fb3b78da154e87db5f5002d51cf743af28edec 100644 (file)
@@ -113,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;
     }