| Index: xfa/fwl/cfwl_widgetmgr.cpp
|
| diff --git a/xfa/fwl/cfwl_widgetmgr.cpp b/xfa/fwl/cfwl_widgetmgr.cpp
|
| index 132544fa84455255720536346ef92ce031c7d809..8ad13de51a27da999634dee25b37ef958e0dd6ba 100644
|
| --- a/xfa/fwl/cfwl_widgetmgr.cpp
|
| +++ b/xfa/fwl/cfwl_widgetmgr.cpp
|
| @@ -312,14 +312,6 @@ int32_t CFWL_WidgetMgr::CountRadioButtonGroup(CFWL_Widget* pFirst) const {
|
| return iRet;
|
| }
|
|
|
| -CFWL_Widget* CFWL_WidgetMgr::GetRadioButtonGroupHeader(
|
| - CFWL_Widget* pRadioButton) const {
|
| - CFWL_Widget* pNext = pRadioButton;
|
| - if (pNext && (pNext->GetStyles() & FWL_WGTSTYLE_Group))
|
| - return pNext;
|
| - return nullptr;
|
| -}
|
| -
|
| void CFWL_WidgetMgr::GetSameGroupRadioButton(
|
| CFWL_Widget* pRadioButton,
|
| CFX_ArrayTemplate<CFWL_Widget*>& group) const {
|
| @@ -330,7 +322,7 @@ void CFWL_WidgetMgr::GetSameGroupRadioButton(
|
| int32_t iGroup = CountRadioButtonGroup(pFirst);
|
| if (iGroup < 2)
|
| return;
|
| - group.Add(GetRadioButtonGroupHeader(pRadioButton));
|
| + group.Add(nullptr);
|
| }
|
|
|
| CFWL_Widget* CFWL_WidgetMgr::GetDefaultButton(CFWL_Widget* pParent) const {
|
|
|