function figObj = deselectall(figObj)
%FIGOBJ/DESELECTALL

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.3 $  $Date: 2000/06/15 22:42:56 $

dragBin = figObj.DragObjects;
if ~isempty(dragBin.Items)
    for aObjH = fliplr(dragBin.Items);
        set(aObjH,'IsSelected',0);
    end
end