mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
Work around the default ctor being protected, tell sip how to get a default instance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,9 +32,13 @@ def run():
|
||||
|
||||
c = module.find('wxStandardPaths')
|
||||
assert isinstance(c, etgtools.ClassDef)
|
||||
c.find('wxStandardPaths').ignore()
|
||||
c.find('wxStandardPaths').ignore(False)
|
||||
c.abstract = True
|
||||
|
||||
# Since the ctor is protected we need to tell SIP how to get a default
|
||||
# instance of this class
|
||||
c.instanceCode = 'sipCpp = & wxStandardPaths::Get();'
|
||||
|
||||
c.find('IgnoreAppSubDir').ignore()
|
||||
c.find('DontIgnoreAppSubDir').ignore()
|
||||
c.find('IgnoreAppBuildSubDirs').ignore()
|
||||
|
||||
Reference in New Issue
Block a user