X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c2fa134b59340c73bca46c7b8e74a386efd046..002ed9af8309d5baa1b2c32f1fd28160595e2fa7:/src/generic/wizard.cpp?ds=sidebyside 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,