mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
...but it's only needed once. :(
This commit is contained in:
12
etg/image.py
12
etg/image.py
@@ -46,18 +46,6 @@ def run():
|
||||
# Tweak the parsed meta objects in the module object as needed for
|
||||
# customizing the generated code and docstrings.
|
||||
|
||||
module.addHeaderCode("""\
|
||||
#include <wx/imaggif.h>
|
||||
#include <wx/imagiff.h>
|
||||
#include <wx/imagjpeg.h>
|
||||
#include <wx/imagpcx.h>
|
||||
#include <wx/imagpng.h>
|
||||
#include <wx/imagpnm.h>
|
||||
#include <wx/imagtga.h>
|
||||
#include <wx/imagtiff.h>
|
||||
#include <wx/imagxpm.h>
|
||||
""")
|
||||
|
||||
c = module.find('wxImage')
|
||||
assert isinstance(c, etgtools.ClassDef)
|
||||
c.find('wxImage').findOverload('(const char *const *xpmData)').ignore()
|
||||
|
||||
Reference in New Issue
Block a user