X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..68893d580363f62c7579cade2d9ee8f954eaf309:/src/common/dlgcmn.cpp?ds=sidebyside diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index d152896a54..b0aa664380 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -83,7 +83,7 @@ wxWindow *wxDialogBase::CheckIfCanBeUsedAsParent(wxWindow *parent) const if ( !parent ) return NULL; - extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete; + extern WXDLLIMPEXP_DATA_BASE(wxList) wxPendingDelete; if ( wxPendingDelete.Member(parent) || parent->IsBeingDeleted() ) { // this window is being deleted and we shouldn't create any children @@ -465,7 +465,7 @@ void wxDialogBase::OnButton(wxCommandEvent& event) } // ---------------------------------------------------------------------------- -// compatibility methods for supporting the modality API +// compatibility methods for supporting the modality API // ---------------------------------------------------------------------------- wxDEFINE_EVENT( wxEVT_WINDOW_MODAL_DIALOG_CLOSED , wxWindowModalDialogEvent ); @@ -483,7 +483,7 @@ void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type ) { wxCommandEvent event ( type, GetId()); event.SetEventObject(this); - + if ( !GetEventHandler()->ProcessEvent(event) ) { // the event is not propagated upwards to the parent automatically @@ -491,7 +491,7 @@ void wxDialogBase::SendWindowModalDialogEvent ( wxEventType type ) // in 9 cases of 10 the message must be processed by the dialog // owner and not the dialog itself (void)GetParent()->GetEventHandler()->ProcessEvent(event); - } + } }