Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as

argument and return a Control or Menu object.
This commit is contained in:
Jack Jansen 1999-02-07 14:02:03 +00:00
parent b0687899d7
commit e058189040
6 changed files with 52 additions and 0 deletions

View file

@ -1,3 +1,7 @@
f = Function(ControlHandle, 'as_Control',
(Handle, 'h', InMode))
functions.append(f)
as_resource_body = """
return ResObj_New((Handle)_self->ob_itself);
"""