Skip to content

Commit adb380a

Browse files
author
soheil_h_y
committed
1. Remove All problem solved!
1 parent bdc37f2 commit adb380a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Combo.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,10 @@ public void remove (String string) {
12801280
public void removeAll () {
12811281
checkWidget ();
12821282
//OS.SendMessage (handle, OS.CB_RESETCONTENT, 0, 0);
1283-
selectInput.options = new Option[0];
1283+
/**
1284+
* @j2sNative
1285+
* this.selectInput.options.length = 0;
1286+
*/{}
12841287
sendEvent (SWT.Modify);
12851288
// widget could be disposed at this point
12861289
}

0 commit comments

Comments
 (0)