Bumping up wxWidgets to 3.1.4-patched on all platforms.

This commit is contained in:
Vojtech Bubnik 2021-03-01 10:43:13 +01:00
parent b6cd41d670
commit d7a786e8c8
2 changed files with 3 additions and 12 deletions

View file

@ -1,11 +1,4 @@
if (APPLE)
# The new OSX 11 (Big Sur) is not compatible with wxWidgets 3.1.3.
# Let's use patched wxWidgets 3.1.4, even though it is not quite tested.
set(_wx_git_tag v3.1.4-patched)
else ()
# Use the tested patched wxWidgets 3.1.3 everywhere else.
set(_wx_git_tag v3.1.3-patched)
endif ()
set(_wx_git_tag v3.1.4-patched)
# set(_patch_command "")
set(_wx_toolkit "")

View file

@ -245,8 +245,7 @@ Polygon convex_hull(Points points)
return hull;
}
Pointf3s
convex_hull(Pointf3s points)
Pointf3s convex_hull(Pointf3s points)
{
assert(points.size() >= 3);
// sort input points
@ -304,8 +303,7 @@ convex_hull(Pointf3s points)
return hull;
}
Polygon
convex_hull(const Polygons &polygons)
Polygon convex_hull(const Polygons &polygons)
{
Points pp;
for (Polygons::const_iterator p = polygons.begin(); p != polygons.end(); ++p) {