mirror of
https://github.com/python/cpython.git
synced 2025-09-14 20:56:06 +00:00
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
This commit is contained in:
parent
202355a333
commit
362c7cd07b
25 changed files with 60 additions and 61 deletions
|
@ -170,7 +170,7 @@ class Button(ControlWidget):
|
|||
# emulate the pushing of the button
|
||||
import time
|
||||
self._control.HiliteControl(Controls.kControlButtonPart)
|
||||
Qd.QDFlushPortBuffer(self._parentwindow.wid, None) # needed under OSX
|
||||
self._parentwindow.wid.GetWindowPort().QDFlushPortBuffer(None) # needed under OSX
|
||||
time.sleep(0.1)
|
||||
self._control.HiliteControl(0)
|
||||
if self._callback:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue