You have to replace macros using macrosmanager but keep track of the original entry so the macro doesn't get lost.
Thanks, I did think of doing it but decided against, let me explain me reasoning
1. I do not know the implication of changing the code and although I have been teaching C++ for 20 years or so, I am new to CB.
2. in principle I think the less you do to get your objective the better. combined that with the fact that the less you do the less mistakes you make

so I tried minimal intervention
If the text-control in the panel is exposed just like the text-control in:
SVN\codeblocks\src\plugins\scriptedwizard\genericselectpath.cpp // Set the control's name so that calls to wxWindow::FindWindowByName() succeed...
txtFolder->SetName(_T("txtFolder"));
Then I can make my own scripted wizard and do the rest with minimal intervention in the actual code base
given that you know much much more about the code-base what do you think is the right approach in this case
Thanks,
_Ben