Getting wxChoice value on button event

you forgot to mention what you need help with :slight_smile:
what do you want to do?

路路路

On Mon, 17 Jan 2005 20:03:31 -0500, Arthur Wiebe <artooro@gmail.com> wrote:

The demo's only show how to get the value of a wxChoice window using
the CHOICE event.

I have this code:
...
EVT_BUTTON(btn, -1, self.Start)
...
aircraft = wxChoice(self.dlg, -1, (125, 20), choices = sets)
...
def Start(self, e):
        # Do whatever with aircraft value
        self.dlg.Destroy()

And help would be helpful :slight_smile:

--
Peter Damoc
jack of all trades, master of none
http://www.sigmacore.net/