Don't load theme functions dynamically as it's not necessary any longer. See https://github.com/wxWidgets/wxWidgets/pull/572