New code factoring for wxWidgets, svn -> 3.0.0

For wxWidgets 2.9.5 you need to comment the 2 last classes in the file wx/dialog.h of your sysroot,
otherwhise you will have troubles compiling opencpn.