summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wcontrols.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/IDE/Wcontrols.py')
-rw-r--r--Mac/Tools/IDE/Wcontrols.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wcontrols.py b/Mac/Tools/IDE/Wcontrols.py
index ab6ae96..3d52383 100644
--- a/Mac/Tools/IDE/Wcontrols.py
+++ b/Mac/Tools/IDE/Wcontrols.py
@@ -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: