Added #if to handle newer version of wxWidgets. The definition of wxStan...

...dardPaths changed and in version 3 of wxWidgets the code has to be changed to compile