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;