Fixed compilation for new version of wxWidgets and new version of libpqxx