X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c2fa134b59340c73bca46c7b8e74a386efd046..9add93670bb4a38e4007b8422b34b29b6194eecb:/src/generic/wizard.cpp diff --git a/src/generic/wizard.cpp b/src/generic/wizard.cpp index 532315b1f8..bb0e6c6048 100644 --- a/src/generic/wizard.cpp +++ b/src/generic/wizard.cpp @@ -723,6 +723,7 @@ void wxWizard::OnWizEvent(wxWizardEvent& event) if ( !(GetExtraStyle() & wxWS_EX_BLOCK_EVENTS) ) { // the event will be propagated anyhow + event.Skip(); return; } @@ -738,7 +739,7 @@ void wxWizard::OnWizEvent(wxWizardEvent& event) // our public interface // ---------------------------------------------------------------------------- -#ifdef WXWIN_COMPATIBILITY_2_2 +#if WXWIN_COMPATIBILITY_2_2 /* static */ wxWizard *wxWizardBase::Create(wxWindow *parent,