www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@dialog/resetPointer.m

    function resetPointer(obj)
%RESETPOINTER Reset the pointer to previous setting.
%
%   RESETPOINTER(OBJ)
%
%   See also xregGui.dialog.setPointer.

%   Copyright 2007 The MathWorks, Inc.

PR = xregGui.PointerRepository;
PR.stackRemovePointer( obj.Figure, obj.PointerID(end) );
obj.PointerID(end) = [];
drawnow('expose');