I have two classes, one inheriting wx.Frame and othe is wx.Dialog. I use the dialog to collect some info and I call its object in the wx.Frame class. The problem is, the dialog should return the value of its TextCtrl values and I have no Idea how to do it :)

I can grab the values via GetValue and make a tuple to return, but then I have no Idea how I can return the values to wx.Frame before I destroy the dialog


Thanks alot, I hope that will settle the matter.
If there is any trick then feel free to add it guys