Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Editing Structograms with the NassiShneiderman plugin
oBFusCATed:
1. ok
2. ok
3. you have to register wxwidgets event using the id of the menu item. See their documentation. You can either use Connect method of your event handler or the EVT_XXXX macro.
scarphin:
3- I managed to disable the menu item when no text is selected and posted the patch to sf.net. Thanks for the tip. I don't know why the menu item is enabled when the current editor is a diagram though. Fortunately it doesn't lead to a crash when activated.
scarphin:
1- Added new patch that uses 'settings -> environment -> colours'.
3- Updated the patch. The enabled menu item problem in my previous post is resolved.
Navigation
[0] Message Index
[*] Previous page
Go to full version