]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_combo.cpp
Implement mnemnic support for wxToggleButton.
[wxWidgets.git] / src / xrc / xh_combo.cpp
index 6950cfc1988bcd7d775532b06c142261c6273a5e..99c037055926eb8a44a5e64a45b0808eeca8ad70 100644 (file)
@@ -87,7 +87,7 @@ wxObject *wxComboBoxXmlHandler::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;