function Main = wrap_gui(h)
%WRAP_GUI  GUI for editing phase wrap properties of h

%   Author(s): C. Buhr
%   Copyright 1986-2004 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2004/12/26 21:50:43 $

%---Get Toolbox Preferences
Prefs = cstprefs.tbxprefs;

%---Top-level panel (MWGroupbox)
Main = com.mathworks.mwt.MWGroupbox(sprintf('Frequency Response'));
Main.setLayout(com.mathworks.mwt.MWBorderLayout(0,0));
Main.setFont(Prefs.JavaFontB);

PhaseWrapping = wrap_gui(h);
MinGainLimit = mingain_gui(h);

Main.add(MinGainLimit,com.mathworks.mwt.MWBorderLayout.NORTH);
Main.add(PhaseWrapping,com.mathworks.mwt.MWBorderLayout.SOUTH);