Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

virtual void cbPlugin::BuildMenu ( wxMenuBar *  menuBar  )  [pure virtual]

This method is called by Code::Blocks and is used by the plugin to add any menu items it needs on Code::Blocks's menu bar.
It is a pure virtual method that needs to be implemented by all plugins. If the plugin does not need to add items on the menu, just do nothing ;)

This function may be called more than one time. This can happen, for example, when a plugin is installed or uninstalled.
menuBar the wxMenuBar to create items in

Implemented in cbToolPlugin, cbMimePlugin, cbWizardPlugin, and wxSmith.

Generated by  Doxygen 1.6.0   Back to index