Author Topic: Editing Structograms with the NassiShneiderman plugin  (Read 20180 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Editing Structograms with the NassiShneiderman plugin
« Reply #15 on: January 05, 2015, 12:03:55 am »
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: Editing Structograms with the NassiShneiderman plugin
« Reply #16 on: January 05, 2015, 03:14:23 pm »
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.

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: Editing Structograms with the NassiShneiderman plugin
« Reply #17 on: January 05, 2015, 09:36:47 pm »
1- Added new patch that uses 'settings -> environment -> colours'.
3- Updated the patch. The enabled menu item problem in my previous post is resolved.