_() vs wxT() macro for controls labels
Posted: Sun Jan 26, 2014 6:05 pm
Hi,
I have a problem with polish specific characters (i.e. ąęćłóźżńś). It change into something terrible after compilation. It's due to _() macro wrapping for literal string in controls' labels. I have to manualy replace all _() to wxT() in generated code in order to fix the problem. It's the same story as in wxDevC++ and wxSmith
wxWidgets documentation reasoning is that _() should not be used for unicode literal strings. Is there a way to change wxCrafter behavior in order to use wxT() instead of _() ?
Regards
I have a problem with polish specific characters (i.e. ąęćłóźżńś). It change into something terrible after compilation. It's due to _() macro wrapping for literal string in controls' labels. I have to manualy replace all _() to wxT() in generated code in order to fix the problem. It's the same story as in wxDevC++ and wxSmith
wxWidgets documentation reasoning is that _() should not be used for unicode literal strings. Is there a way to change wxCrafter behavior in order to use wxT() instead of _() ?
Regards