fix build with wxwidgets