mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
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:
parent
b0687899d7
commit
e058189040
6 changed files with 52 additions and 0 deletions
|
@ -32,6 +32,8 @@ includestuff = includestuff + """
|
|||
#include <%s>""" % MACHEADERFILE + """
|
||||
|
||||
#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
|
||||
|
||||
#define as_Menu(h) ((MenuHandle)h)
|
||||
"""
|
||||
|
||||
class MyObjectDefinition(GlobalObjectDefinition):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue