| 67 | struct AsyncCancelButton : Button { |
| 68 | AsyncDialog* dialog; |
| 69 | void onAction(const ActionEvent& e) override { |
| 70 | dialog->getParent()->requestDelete(); |
| 71 | } |
| 72 | }; |
| 73 | AsyncCancelButton* const cancelButton = new AsyncCancelButton; |
| 74 | cancelButton->box.size.x = buttonWidth; |
nothing calls this directly
no test coverage detected