We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5951b6 commit b93cebfCopy full SHA for b93cebf
examples/wxpython.py
@@ -64,6 +64,12 @@ def __init__(self):
64
title='wxPython example', size=(WIDTH, HEIGHT))
65
self.browser = None
66
67
+ # Must ignore X11 errors like 'BadWindow' and others by
68
+ # installing X11 error handlers. This must be done after
69
+ # wx was intialized.
70
+ if LINUX:
71
+ WindowUtils.InstallX11ErrorHandlers()
72
+
73
global g_count_windows
74
g_count_windows += 1
75
0 commit comments