Check compilation of all wx headers with all gcc warnings enabled. This should make it impossible to introduce problems that only appear when -Wpedantic or -Wany-other-not-completely-unreasonable-warning is enabled when building user code including wx headers again. See https://github.com/wxWidgets/wxWidgets/pull/2033