mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
- Added DrawThemeTextBox()
- fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
This commit is contained in:
parent
1ca65c0738
commit
4f6fe52424
3 changed files with 50 additions and 4 deletions
|
@ -48,7 +48,6 @@ class MyScanner(Scanner):
|
|||
"appearanceBadTextColorIndexErr",
|
||||
"appearanceThemeHasNoAccents",
|
||||
"appearanceBadCursorIndexErr",
|
||||
"DrawThemeTextBox", # Funny void* out param
|
||||
]
|
||||
|
||||
def makegreylist(self):
|
||||
|
@ -58,6 +57,7 @@ class MyScanner(Scanner):
|
|||
'GetThemeTextShadowOutset',
|
||||
'GetThemeTextDimensions',
|
||||
'TruncateThemeText',
|
||||
'DrawThemeTextBox',
|
||||
])]
|
||||
|
||||
def makeblacklisttypes(self):
|
||||
|
@ -80,6 +80,10 @@ class MyScanner(Scanner):
|
|||
|
||||
def makerepairinstructions(self):
|
||||
return [
|
||||
([("void", 'inContext', "OutMode")],
|
||||
[("NULL", 'inContext', "InMode")]),
|
||||
([("Point", 'ioBounds', "OutMode")],
|
||||
[("Point", 'ioBounds', "InOutMode")]),
|
||||
]
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue