diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-22 15:08:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-10-22 15:08:00 (GMT) |
commit | cdcbd1f02bfbf80bb8d0a93ce91a640404f0304b (patch) | |
tree | ee25d3f6209e42182986cc553174a8114ae44bfa /Mac/Modules/win/winedit.py | |
parent | 3dd1c39c809d77a90112a94b0aec373f86d1b751 (diff) | |
download | cpython-cdcbd1f02bfbf80bb8d0a93ce91a640404f0304b.zip cpython-cdcbd1f02bfbf80bb8d0a93ce91a640404f0304b.tar.gz cpython-cdcbd1f02bfbf80bb8d0a93ce91a640404f0304b.tar.bz2 |
Added {Get,Set}WindowUserData methods.
Diffstat (limited to 'Mac/Modules/win/winedit.py')
-rw-r--r-- | Mac/Modules/win/winedit.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Mac/Modules/win/winedit.py b/Mac/Modules/win/winedit.py index b7c2a97..6a81b9b 100644 --- a/Mac/Modules/win/winedit.py +++ b/Mac/Modules/win/winedit.py @@ -96,6 +96,16 @@ f = Method(void, 'SetWindowUserState', ) methods.append(f) +f = Method(Handle, 'GetWindowDataHandle', + (WindowRef, 'theWindow', InMode), +) +methods.append(f) +f = Method(void, 'SetWindowDataHandle', + (WindowRef, 'theWindow', InMode), + (Handle, 'data', InMode), +) +methods.append(f) + # These have Mac prefixed to their name in the 3.1 universal headers, # so we add the old/real names by hand. f = Method(void, 'CloseWindow', |