- fixed some re usage, partly so it'll still work when re uses pre instead

of sre, and partly fixing re -> regex porting oversights
- fixed PyFontify.py so it actually *works* again..
This commit is contained in:
Just van Rossum 2001-07-10 19:25:40 +00:00
parent 353ae58964
commit 3eec7620be
4 changed files with 38 additions and 43 deletions

View file

@ -381,14 +381,6 @@ class Scrollbar(ControlWidget):
return self._value
class __xxxx_PopupControl(ControlWidget):
def __init__(self, possize, title = "Button", callback = None):
procID = Controls.popupMenuProc # | Controls.useWFont
ControlWidget.__init__(self, possize, title, procID, callback, 0, 0, 1)
self._isdefault = 0
def _scalebarvalue(absmin, absmax, curmin, curmax):
if curmin <= absmin and curmax >= absmax:
return None