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
1 changed files with 1 additions and 0 deletions

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);
});