Fixed problem reported by Kiril in VSCP Works that make it not to compile on wx 2.8