added addNotify for creating the AWT peer

This commit is contained in:
Robinson 2023-01-02 17:34:07 +01:00
parent 19a75dbd8f
commit c41f2ee89b
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class AwtMenu implements MenuPeer {
this._native = new java.awt.Menu();
parent._native.add(this._native);
}
this._native.addNotify();
}
@Override