Sets the current AFM directory pathname. If path is null, the directory is unknown. See also wx:get-afm-path.