mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Added region argument to various ...Update calls.
Also, some rsrc files got rebinhexed (sigh)
This commit is contained in:
parent
2b72417da0
commit
0b690db57a
5 changed files with 14 additions and 10 deletions
|
|
@ -28,7 +28,7 @@ def dodialog(items):
|
|||
# Draw it.
|
||||
#
|
||||
list.LSetDrawingMode(1)
|
||||
list.LUpdate()
|
||||
list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||
#
|
||||
# Do the (modeless) dialog
|
||||
#
|
||||
|
|
@ -41,7 +41,7 @@ def dodialog(items):
|
|||
if what == updateEvt:
|
||||
# XXXX We just always update our list (sigh...)
|
||||
SetPort(window)
|
||||
list.LUpdate()
|
||||
list.LUpdate(self.wid.GetWindowPort().visRgn)
|
||||
if IsDialogEvent(ev):
|
||||
# It is a dialog event. See if it's ours.
|
||||
ok, window, item = DialogSelect(ev)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue