playing with wxStrings - to be tidied up