- included "nsIMenuListener.h"
- destructor releases mMenuListener
- AddMenuListener Releases a previously held nsMenuListener (nsMenuBar) before AddRefing the passed in one
mozilla/widget/public/nsIMenuItem.h
- included "nsIXULCommand.h"
- added SetXULCommand(nsIXULCommand*) which sets the XUL command for the menu item
mozilla/widget/src/mac/nsMenuItem.cpp
mozilla/widget/src/gtk/nsMenuItem.cpp
mozilla/widget/src/motif/nsMenuItem.cpp
mozilla/widget/src/windows/nsMenuItem.cpp
- QueryInterface supports nsIMenuListener interface.
- MenuSelected calls DoCommand on XULCommand (mac only right now)
- Added SetXULCommand() to set the nsXULCommand for this menuitem
mozilla/widget/src/mac/nsMenuItem.h
mozilla/widget/src/gtk/nsMenuItem.h
mozilla/widget/src/motif/nsMenuItem.h
mozilla/widget/src/windows/nsMenuItem.h
- nsMenuItem inherits from nsIMenuListener
- Added SetXULCommand() method
git-svn-id: svn://10.0.0.236/trunk@19794 18797224-902f-48f8-a5cc-f745e15eee43
This is for the XPToolkit menus to hook in and get notified of menu events.
git-svn-id: svn://10.0.0.236/trunk@18367 18797224-902f-48f8-a5cc-f745e15eee43
Moved the platform specific factories into the new "build" directory.
The "build" directory now links the spwidgets and the platforms specific
widgets together.
git-svn-id: svn://10.0.0.236/trunk@12924 18797224-902f-48f8-a5cc-f745e15eee43