User forums > Using Code::Blocks
How to prevent wxSmith from auto overwriting wxS("") string format back to _("")
tomay3000:
Hello,
I need to prevent wxSmith from auto overwriting all string format manually changed to wxS("") back to _("") each time?
I need it to stay like wxS("").
TIA.
stahta01:
--- Quote from: tomay3000 on June 03, 2021, 11:24:12 pm ---Hello,
I need to prevent wxSmith from auto overwriting all string format manually changed to wxS("") back to _("") each time?
I need it to stay like wxS("").
TIA.
--- End quote ---
Do the change outside of the wxSmith comment block.
Edit: If that is not possible post where it happens and maybe someone can fix the wxSmith code.
Tim S.
Miguel Gimenez:
In wxSmith's properties you can deactivate usage of i18n strings, but then it will use the format specified for non-i18n strings (wxS is not in the list)
tomay3000:
--- Quote from: Miguel Gimenez on June 04, 2021, 08:17:08 am ---In wxSmith's properties you can deactivate usage of i18n strings, but then it will use the format specified for non-i18n strings (wxS is not in the list)
--- End quote ---
That helped, thank you ;)
I think wxS should be added to the list too in future development.
stahta01:
--- Quote from: tomay3000 on June 04, 2021, 06:31:32 pm ---
--- Quote from: Miguel Gimenez on June 04, 2021, 08:17:08 am ---In wxSmith's properties you can deactivate usage of i18n strings, but then it will use the format specified for non-i18n strings (wxS is not in the list)
--- End quote ---
That helped, thank you ;)
I think wxS should be added to the list too in future development.
--- End quote ---
Do you know how to build Code::Blocks from source?
And, do you know how to use wxSmith?
If yes to both, I am trying to create a patch that adds wxS to list.
But, I have little knowledge of how to use wxSmith and really can not test it.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version