wx.TextEntryDialog causes EventGhost to freeze
Posted: Mon Sep 13, 2010 9:02 pm
Hello All,
I can't get the dialog wx.TextEntryDialog working under EventGhost Python Script plugin. Every time I'm trying to use it the EventGhost application freezes. I have tested this problem on different PC's and under different EventGhost versions. It is working correctly under Python Shell called PyCrust thou. Currently I'm working under Windows 7, EventGhost 0.3.7.r1436
I can't get the dialog wx.TextEntryDialog working under EventGhost Python Script plugin. Every time I'm trying to use it the EventGhost application freezes. I have tested this problem on different PC's and under different EventGhost versions. It is working correctly under Python Shell called PyCrust thou. Currently I'm working under Windows 7, EventGhost 0.3.7.r1436
Code: Select all
import wx
dlg = wx.TextEntryDialog(None, "Some text",'A Question', 'any text')
if dlg.ShowModal() == wx.ID_OK:
response = dlg.GetValue()
dlg.Destroy()