| commit | e47256df9bd6b61f54527e7a1a262b141603341f | [log] [tgz] |
|---|---|---|
| author | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Sun Apr 29 15:05:57 2007 +0000 |
| committer | gwt.team.knorton <gwt.team.knorton@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Sun Apr 29 15:05:57 2007 +0000 |
| tree | a4f9258900f305cd0762e45a99f917c8813d93d8 | |
| parent | 84ba50639bcaec7c970713c5ed0565cf8f6a7c28 [diff] |
Replaces deprecated call to DeferredCommand.add(...) with DeferredCommand.addCommand(...). Suggested by: alex.tkachman Review by: bruce git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@982 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/MenuBar.java b/user/src/com/google/gwt/user/client/ui/MenuBar.java index b58e2ab..60de7e7 100644 --- a/user/src/com/google/gwt/user/client/ui/MenuBar.java +++ b/user/src/com/google/gwt/user/client/ui/MenuBar.java
@@ -312,7 +312,7 @@ // Fire the item's command. Command cmd = item.getCommand(); if (cmd != null) { - DeferredCommand.add(cmd); + DeferredCommand.addCommand(cmd); } } return;