wxWidgets: menu items in workspace editor remain enabled when not applicable
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
In the wxWidgets version of FMSLogo, the menu items for the workspace editor do not get disabled when they are not applicable. For example, Edit->Copy is not disable when nothing is selected. The Borland OWL version does this, so so should the wxWidgets version.
Strangely, code is in place to disable/enable the menu item when appropriate, but wxWidgets does not call it. It may be that I've compiled the wxWidgets library incorrectly or that I simply haven't invoked the library correctly.
The problem was due to a bug in wxWidgets where it didn't send EVT_UPDATE_UI events if the library were configured to have support for menus, but not status bars. I had compiled it this way to reduce the size of the final fmslogo.exe executable. My fix was to include status bars in wxWidgets, even though FMSLogo does not use them.
The fix will be available in FMSLogo 6.34.0.