Actually read the values from controls in automation dialogs

This commit is contained in:
Thomas Goyne 2013-05-26 08:36:49 -07:00
parent 6308104031
commit 5462d35708

View file

@ -521,6 +521,7 @@ namespace Automation4 {
auto button = new wxButton(window, id, text);
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, [=](wxCommandEvent &evt) {
this->button_pushed = button_pushed;
dialog->TransferDataFromWindow();
dialog->EndModal(0);
});