Fix InputConfigDiag crash on Windows. (GCode issue 7384)

wxwidgets lolz..