In the end, I gave up trying to use the 'wx-config' command and simply cut and paste the debug and release include, defines and libraries into the various compiler/linker options dialogues in slickedit. It works fine and as a side effect, allows me to have different build configurations for different wx versions, so it's win-win all round.