added missing override to wxDialog