X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c2fa134b59340c73bca46c7b8e74a386efd046..efe66bbc0e9f463a6dd3ad49717474dd801bebf3:/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,