Updated for compilation on current mingw and wxWidgets-3.0

- ready for testing on Windows 7 (new win32 target)