]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_choic.cpp
Applied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix
[wxWidgets.git] / src / xrc / xh_choic.cpp
index e9ff297b64696e759a54d04709547e81f4082118..2f91e382a8f204a5b9afc96343094dfb3d9d9b27 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "wx/xrc/xh_choic.h"
 #include "wx/choice.h"
+#include "wx/intl.h"
 
 wxChoiceXmlHandler::wxChoiceXmlHandler() 
 : wxXmlResourceHandler() , m_insideBox(FALSE)
@@ -76,7 +77,7 @@ wxObject *wxChoiceXmlHandler::DoCreateResource()
         // handle <item>Label</item>
         
         // add to the list
-        strList.Add(GetNodeContent(m_node));
+        strList.Add(wxGetTranslation(GetNodeContent(m_node)));
 
         return NULL;
     }