renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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() )
|
||||
|
Reference in New Issue
Block a user