]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/wizard.cpp
more synonyms for UCS-2/4
[wxWidgets.git] / src / generic / wizard.cpp
index 099e53a67e7649d52373a4c8307d86fba536a04d..c3884c0771f8b4bf569f8dddd17911142df2d001 100644 (file)
@@ -812,8 +812,7 @@ void wxWizard::OnWizEvent(wxWizardEvent& event)
         }
     }
 
-    if ( !IsModal() &&
-         ( modelessWizards.Index(this) != wxNOT_FOUND ) &&
+    if ( ( modelessWizards.Index(this) != wxNOT_FOUND ) &&
          event.IsAllowed() &&
          ( event.GetEventType() == wxEVT_WIZARD_FINISHED ||
            event.GetEventType() == wxEVT_WIZARD_CANCEL