Show More
@@ -161,5 +161,11 b' def inputhook_wx3():' | |||||
161 | pass |
|
161 | pass | |
162 | return 0 |
|
162 | return 0 | |
163 |
|
163 | |||
164 | # This is our default implementation |
|
164 | if sys.platform == 'darwin': | |
165 | inputhook_wx = inputhook_wx3 |
|
165 | # On OSX, evtloop.Pending() always returns True, regardless of there being | |
|
166 | # any events pending. As such we can't use implementations 1 or 3 of the | |||
|
167 | # inputhook as those depend on a pending/dispatch loop. | |||
|
168 | inputhook_wx = inputhook_wx2 | |||
|
169 | else: | |||
|
170 | # This is our default implementation | |||
|
171 | inputhook_wx = inputhook_wx3 |
General Comments 0
You need to be logged in to leave comments.
Login now