mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Fix for RichTextLineVector:
This one has probably been in the generated type-stub for ages. One of the base classes in the generated stub was generated as `RichTextLine*`.
This commit is contained in:
@@ -322,7 +322,8 @@ class PiWrapperGenerator(generators.WrapperGeneratorBase, FixWxPrefix):
|
||||
t = typedef.type.replace('>', '')
|
||||
t = t.replace(' ', '')
|
||||
bases = t.split('<')
|
||||
bases = [self.fixWxPrefix(b, True) for b in bases]
|
||||
bases = (self.fixWxPrefix(b, True) for b in bases)
|
||||
bases = [b.replace('*', '') for b in bases] # fix for RichTextLine*
|
||||
name = self.fixWxPrefix(typedef.name)
|
||||
|
||||
# Now write the Python equivalent class for the typedef
|
||||
|
||||
Reference in New Issue
Block a user