Ticket #14823 (closed defect: fixed)
Menu not disabled when showing modal dialogs in wxGTK under Unity
| Reported by: | raananc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | wxGTK | Version: | 2.9.4 |
| Keywords: | wxDialog modal gtk ubuntu unity | Cc: | dghart@… |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Using 2.9.4 with GTK+2 on Ubuntu 12.04, with GCC.
A wxFrame has a menu and the menu item displays a dialog using ShowModal() (see below)
The problem is that the menu is not disabled while the dialog is displayed: each subsequent click on the menu item displays a new dialog window.
void mainframe::OnMenuitemClick( wxCommandEvent& event )
{
DialogPage* dp = new DialogPage(this);
dp->ShowModal();
}
class DialogPage: public wxDialog
{
....
};
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

