does not exist.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49335
138bc75d-0d04-0410-961f-
82ee72b054a4
2002-01-29 Tom Tromey <tromey@redhat.com>
+ * java/awt/List.java (addNotify): Correctly check to see if peer
+ does not exist.
+
* java/awt/GridLayout.java (layoutContainer): Use number of rows
to compute height of each cell, and number of columns to compute
width of each cell.
public void
addNotify()
{
- if (peer != null)
+ if (peer == null)
peer = getToolkit ().createList (this);
super.addNotify ();
}