#include "wx/xrc/xh_chckl.h"
#include "wx/checklst.h"
+#include "wx/intl.h"
wxCheckListXmlHandler::wxCheckListXmlHandler()
: wxXmlResourceHandler(), m_insideBox(FALSE)
// handle <item checked="boolean">Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
}
#include "wx/xrc/xh_choic.h"
#include "wx/choice.h"
+#include "wx/intl.h"
wxChoiceXmlHandler::wxChoiceXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_combo.h"
#include "wx/combobox.h"
+#include "wx/intl.h"
#if wxUSE_COMBOBOX
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_listb.h"
#include "wx/listbox.h"
+#include "wx/intl.h"
wxListBoxXmlHandler::wxListBoxXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_radbx.h"
#include "wx/radiobox.h"
+#include "wx/intl.h"
#if wxUSE_RADIOBOX
// handle <item selected="boolean">Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_chckl.h"
#include "wx/checklst.h"
+#include "wx/intl.h"
wxCheckListXmlHandler::wxCheckListXmlHandler()
: wxXmlResourceHandler(), m_insideBox(FALSE)
// handle <item checked="boolean">Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
}
#include "wx/xrc/xh_choic.h"
#include "wx/choice.h"
+#include "wx/intl.h"
wxChoiceXmlHandler::wxChoiceXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_combo.h"
#include "wx/combobox.h"
+#include "wx/intl.h"
#if wxUSE_COMBOBOX
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_listb.h"
#include "wx/listbox.h"
+#include "wx/intl.h"
wxListBoxXmlHandler::wxListBoxXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
// handle <item>Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}
#include "wx/xrc/xh_radbx.h"
#include "wx/radiobox.h"
+#include "wx/intl.h"
#if wxUSE_RADIOBOX
// handle <item selected="boolean">Label</item>
// add to the list
- strList.Add(GetNodeContent(m_node));
+ strList.Add(wxGetTranslation(GetNodeContent(m_node)));
return NULL;
}