diff --git a/src/motif/dialog.cpp b/src/motif/dialog.cpp index 4be633c308..cf91fefe54 100644 --- a/src/motif/dialog.cpp +++ b/src/motif/dialog.cpp @@ -370,6 +370,8 @@ void wxDialog::EndModal(int retCode) m_modalShowing = false; m_eventLoop->Exit(); + + SetModal(false); } // Standard buttons