X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a77875bed4779fad450b289ab7e476d049ccd14..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 864bb24f1a..4c5ebcc5da 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1384,7 +1384,7 @@ void wxWindowBase::UpdateWindowUI() if ( event.GetSetText() ) { - wxControl *control = wxDynamicThisCast(this, wxControl); + wxControl *control = wxDynamicCastThis(wxControl); if ( control ) { #if wxUSE_TEXTCTRL @@ -1398,7 +1398,7 @@ void wxWindowBase::UpdateWindowUI() } #if wxUSE_CHECKBOX - wxCheckBox *checkbox = wxDynamicThisCast(this, wxCheckBox); + wxCheckBox *checkbox = wxDynamicCastThis(wxCheckBox); if ( checkbox ) { if ( event.GetSetChecked() ) @@ -1407,7 +1407,7 @@ void wxWindowBase::UpdateWindowUI() #endif // wxUSE_CHECKBOX #if wxUSE_RADIOBTN - wxRadioButton *radiobtn = wxDynamicThisCast(this, wxRadioButton); + wxRadioButton *radiobtn = wxDynamicCastThis(wxRadioButton); if ( radiobtn ) { if ( event.GetSetChecked() )