I've got a wxdialog which produces integers dimxn dimxy and wxString dimcust when OK is pressed.
How do I get it to pass these back to the main program so I can carry on working on the values?Code:void CustomSizeDialog::OnOKButtonClick(wxCommandEvent& event) { wxString dimx = TextDimX->GetValue(); wxString dimy = TextDimY->GetValue(); int dimxn = wxAtoi(dimx); int dimyn = wxAtoi(dimy); wxString dimcust; dimcust += dimx + wxT(" x ") + dimy; Close(); }
Thanks



LinkBack URL
About LinkBacks


