And another one.
Should work if the project gets moved around, because it uses relative pathnames and projectname as unique identifier.
This will still fail, if two projects in one workspace have the same name and files with the same name and relative path opened.
And if a new project gets opened in an already opened workspace the actual layout will be destroyed.
Catching the first issue is not easy, the second one should be easier to fix (hopefully).
For the first one, we could of course use some kind of hash (e.g. md5), but this might slow down loading, and it will (of course) not work, if files get changed from outside, which happens often in with vcs and it will still not work if two projects share the same file.
EDIT:Just changed the patch, to one that works with newest wx-svn.
EDIT:actual patch in
http://forums.codeblocks.org/index.php/topic,19100.msg133926.html#msg133926