The attached patch will give you an idea of proposed changes.
Regards,
Orson
We can kill two birds with one stone here.
I like your changes, but they are insufficient to preserve the current behaviour. With a
little bit of work we can accomplish a couple of useful things.
I think we need to save that footprint in the PROJECT. Maybe put it there upon wxFrame
destruction, and go get it upon wxFrame creation. That makes it project specific.
I plan on renaming the PROJECT::RPath() infrastructure to RString(). That is it will hold
wxStrings instead of the goofy RETAINED_PATH. What is now RETAINED_PATH can also go into
the RString() holder. enum RETPATH_T becomes RETSTRING_T.
:
I can do the RString() change in the next half day, and it's something I intended to do
anyways.
Orson, this set of changes had to happen anyways as we moved to multiple open projects, so
I welcome your help and cooperation.
I committed class PROJECT::GetRString() and SetRString() in rev. 4934, paving the way for
saving the MODULE in a session and project specific location and retaining the current UI
behaviour, while clearing some of the clutter in the path of multiple open projects.