Skip to content

Commit 61f86b4

Browse files
committed
add wx.html, more modules in wx.adv
1 parent 686c70b commit 61f86b4

File tree

5 files changed

+26
-18
lines changed

5 files changed

+26
-18
lines changed

etg/_adv.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
#'calctrl',
3434
#'hyperlink',
3535
#'tipdlg',
36-
#'taskbar',
36+
'taskbar',
3737
#'sound',
3838
#'joystick',
3939
#'animate',
4040
#'bannerwindow',
4141
#'editlbox',
4242
#'notifmsg',
43-
#'splash',
43+
'splash',
4444
#'sashwin',
4545
#'laywin',
4646
#'odcombo',
@@ -57,7 +57,8 @@
5757
# sources and/or additional dependencies when building this extension module.
5858
ETGFILES = ['etg/%s.py' % NAME] + tools.getEtgFiles(INCLUDES)
5959
DEPENDS = tools.getNonEtgFiles(INCLUDES)
60-
OTHERDEPS = [ ]
60+
OTHERDEPS = [ 'etg/cffi/_adv.py',
61+
]
6162

6263

6364
#---------------------------------------------------------------------------

etg/unfinished/_html.py renamed to etg/_html.py

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,22 @@
2525
# included as part of this module. These should all be items that are put in
2626
# the wxWidgets "html" library in a multi-lib build.
2727
INCLUDES = [
28-
'htmldefs',
29-
'htmlcell',
30-
'htmlfilt',
31-
'htmltag',
32-
'htmlpars',
33-
'htmlwin',
34-
'htmlprint',
35-
'htmlwinpars',
28+
#'htmldefs',
29+
#'htmlcell',
30+
#'htmlfilt',
31+
#'htmltag',
32+
#'htmlpars',
33+
#'htmlwin',
34+
#'htmlprint',
35+
#'htmlwinpars',
3636

37-
'helpdata',
38-
'helpfrm',
39-
'helpdlg',
40-
'helpwnd',
41-
'helpctrl',
37+
#'helpdata',
38+
#'helpfrm',
39+
#'helpdlg',
40+
#'helpwnd',
41+
#'helpctrl',
4242

43-
'htmllbox',
43+
#'htmllbox',
4444
]
4545

4646

@@ -64,7 +64,8 @@ def run():
6464
# Tweak the parsed meta objects in the module object as needed for
6565
# customizing the generated code and docstrings.
6666

67-
module.addHeaderCode('#include <wxpy_api.h>')
67+
# XXX(amauryfa): only for SIP?
68+
# module.addHeaderCode('#include <wxpy_api.h>')
6869
module.addImport('_core')
6970
module.addPyCode("import wx", order=10)
7071
module.addInclude(INCLUDES)

etg/cffi/_adv.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def run(module):
2+
3+
module.addPyCode('''\
4+
from ._adv import *
5+
from . import _adv
6+
''', order=0)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)