Enabling Menu Items while Modal Dialog Open

Is there any way to enable menu items on the main menu bar while a model dialog is active? My applicaiton is built with wxWidgets/Cocoa 3.0.1. For modal dialogs, I call wxDialog::ShowModal() which calls -beginModalSessionForWindow for the dialog's NSWindow, and then calls -nextEventMatchingMask in a loop. All menu items are disabled, and the methods for enabling menu items are never called. The menu controller's -menuWillOpen and -menuDidClose methods are called, but even if I call -setEnabled explicitly for manu items when a menu opens, the item is still disabled.


In my application, I have some modal dialogs with text controls, and I want the "Cut", "Copy", "Paste", etc. items on the Edit menu to be usble while the modal dialogs are open.


Thank You



Larry

Enabling Menu Items while Modal Dialog Open
 
 
Q