]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_combo.cpp
Make use of new array functions.
[wxWidgets.git] / src / xrc / xh_combo.cpp
index daeb0d70f7688ec84349254bee601df83f74a321..3d708c3a49256e4b365ea075931bc52fb97947a6 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "wx/xrc/xh_combo.h"
 #include "wx/combobox.h"
+#include "wx/intl.h"
 
 #if wxUSE_COMBOBOX
 
@@ -82,7 +83,7 @@ wxObject *wxComboBoxXmlHandler::DoCreateResource()
         // handle <item>Label</item>
 
         // add to the list
-        strList.Add(GetNodeContent(m_node));
+        strList.Add(wxGetTranslation(GetNodeContent(m_node)));
 
         return NULL;
     }