added addNotify for creating the AWT peer
This commit is contained in:
parent
19a75dbd8f
commit
c41f2ee89b
|
@ -46,6 +46,8 @@ class AwtMenu implements MenuPeer {
|
|||
this._native = new java.awt.Menu();
|
||||
parent._native.add(this._native);
|
||||
}
|
||||
|
||||
this._native.addNotify();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue