| 43 | } |
| 44 | |
| 45 | RadioButton* RadioButton::create() |
| 46 | { |
| 47 | RadioButton* widget = new RadioButton(); |
| 48 | if (widget->init()) |
| 49 | { |
| 50 | widget->autorelease(); |
| 51 | return widget; |
| 52 | } |
| 53 | AX_SAFE_DELETE(widget); |
| 54 | return nullptr; |
| 55 | } |
| 56 | |
| 57 | RadioButton* RadioButton::create(std::string_view backGround, |
| 58 | std::string_view backGroundSelected, |
nothing calls this directly
no test coverage detected