Check that setting the other date components doesn't change its hour. See https://github.com/wxWidgets/wxWidgets/pull/367