| 50 | struct AsyncDismissButton : Button { |
| 51 | AsyncDialog* dialog; |
| 52 | void onAction(const ActionEvent& e) override { |
| 53 | dialog->getParent()->requestDelete(); |
| 54 | } |
| 55 | }; |
| 56 | AsyncDismissButton* const dismissButton = new AsyncDismissButton; |
| 57 | dismissButton->box.size.x = buttonWidth; |
nothing calls this directly
no test coverage detected