]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_odcombo.cpp
Hacks for wine.
[wxWidgets.git] / src / xrc / xh_odcombo.cpp
index f5108204a48aa938ec6f8c55527d796e90036497..8f5d6d27058f7e1c52aae9ea9411a8abe0ceafa4 100644 (file)
@@ -97,7 +97,7 @@ wxObject *wxOwnerDrawnComboBoxXmlHandler::DoCreateResource()
         // add to the list
         wxString str = GetNodeContent(m_node);
         if (m_resource->GetFlags() & wxXRC_USE_LOCALE)
         // 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;
         strList.Add(str);
 
         return NULL;