X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/916eabe60eee4adb05387bbf1eaf1915ae5eac18..02fd8b9b6186623ed61019ac7e69ed9a4ef16773:/samples/widgets/static.cpp diff --git a/samples/widgets/static.cpp b/samples/widgets/static.cpp index 7987424ac1..463d40c227 100644 --- a/samples/widgets/static.cpp +++ b/samples/widgets/static.cpp @@ -499,7 +499,7 @@ void StaticWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event)) void StaticWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event) { - if (event.GetEventObject() == wx_static_cast(wxObject*, m_chkEllipsize)) + if (event.GetEventObject() == static_cast(m_chkEllipsize)) { m_radioEllipsize->Enable(event.IsChecked()); }