Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/debugpy/_vendored/pydevd/pydev_ipython/inputhookwx.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def inputhook_wx1():
# Make a temporary event loop and process system events until
# there are no more waiting, then allow idle events (which
# will also deal with pending or posted wx events.)
evtloop = wx.EventLoop() # @UndefinedVariable
evtloop = wx.GUIEventLoop() # @UndefinedVariable
ea = wx.EventLoopActivator(evtloop) # @UndefinedVariable
while evtloop.Pending():
evtloop.Dispatch()
Expand All @@ -66,7 +66,7 @@ def Notify(self):

class EventLoopRunner(object):
def Run(self, time):
self.evtloop = wx.EventLoop() # @UndefinedVariable
self.evtloop = wx.GUIEventLoop() # @UndefinedVariable
self.timer = EventLoopTimer(self.check_stdin)
self.timer.Start(time)
self.evtloop.Run()
Expand Down Expand Up @@ -128,7 +128,7 @@ def inputhook_wx3():
if not callable(signal.getsignal(signal.SIGINT)):
signal.signal(signal.SIGINT, signal.default_int_handler)

evtloop = wx.EventLoop() # @UndefinedVariable
evtloop = wx.GUIEventLoop() # @UndefinedVariable
ea = wx.EventLoopActivator(evtloop) # @UndefinedVariable
t = clock()
while not stdin_ready():
Expand Down