mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
- 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:
parent
353ae58964
commit
3eec7620be
4 changed files with 38 additions and 43 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue