]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed unnecessary IsModal call
authorJulian Smart <julian@anthemion.co.uk>
Tue, 20 Sep 2005 10:06:58 +0000 (10:06 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 20 Sep 2005 10:06:58 +0000 (10:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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