Chart dialog layout should not work for wxPython 2 and 3