Declare _hypot() function globally, predefining __NO_INLINE__ in wx/math.h is not enough as <math.h> is also included from some other standard headers, e.g. <algorithm>, and including them results in the same bug as in wx/math.h (i.e. https://sourceforge.net/p/mingw/bugs/2250/).