wxCrafter: Can I set wxT() for wxStaticText label?
Posted: Sat Apr 16, 2016 9:21 pm
Dear all.
I'm spanish and I would start a project without i18n because I'm just learning.
The issue is: _() macro do not show characters "áéíóú" but wxT() do it correctly.
wxCrafter insert a _() macro in wxStaticText and wxT() in wxTextCtrl.
This is the code generated by wxCrafter:
And the question is: How can I make to include wxT() instead _() in wxCrafter's generated code?
Environment:
OS Debian Stretch amd64
g++ (Debian 5.3.1-14) 5.3.1 20160409
wxWidgets 3.1.0 self-compiled
CodeLite 9.1.5 deb-package downloaded
Thank you.
I'm spanish and I would start a project without i18n because I'm just learning.
The issue is: _() macro do not show characters "áéíóú" but wxT() do it correctly.
wxCrafter insert a _() macro in wxStaticText and wxT() in wxTextCtrl.
This is the code generated by wxCrafter:
Code: Select all
m_staticText31 = new wxStaticText(m_panel17, wxID_ANY, _("Crédito concedido hoy"), wxDefaultPosition, wxSize(-1,-1), 0);
flexGridSizer25->Add(m_staticText31, 0, wxALL, 5);
m_creditoConcedidoTextCtrl33 = new wxTextCtrl(m_panel17, wxID_ANY, wxT("Crédito"), wxDefaultPosition, wxSize(-1,-1), wxTE_RIGHT);
Environment:
OS Debian Stretch amd64
g++ (Debian 5.3.1-14) 5.3.1 20160409
wxWidgets 3.1.0 self-compiled
CodeLite 9.1.5 deb-package downloaded
Thank you.