0

when I try to use the value I get it gets an empty string

    dlg = wx.TextEntryDialog(None, 'Enter User Name:', 'Log in')
    if dlg.ShowModal() == wx.OK:
       self.user=dlg.GetValue()
Kle0s
  • 113
  • 1
  • 8

1 Answers1

0

See wxPython doc. You are mixing up return IDs with wx.MessageBox.

nepix32
  • 3,012
  • 2
  • 14
  • 29