Fixed a bug of wxDirDialog that causes old style direction selection dialog to be shown when specifies a path that does not exist.