mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Rename Properties and Items methods so the same-named properties don’t cause a build warning
This commit is contained in:
@@ -429,7 +429,7 @@ def run():
|
||||
""")
|
||||
|
||||
|
||||
c.addPyMethod('Properties', '(self)',
|
||||
c.addPyMethod('_Properties', '(self)',
|
||||
doc="""\
|
||||
This attribute is a pythonic iterator over all properties in
|
||||
this `PropertyGrid` property container. It will only skip
|
||||
@@ -447,10 +447,10 @@ def run():
|
||||
yield it.GetProperty()
|
||||
it.Next()
|
||||
""")
|
||||
c.addPyProperty('Properties', 'Properties')
|
||||
c.addPyProperty('Properties', '_Properties')
|
||||
|
||||
|
||||
c.addPyMethod('Items', '(self)',
|
||||
c.addPyMethod('_Items', '(self)',
|
||||
doc="""\
|
||||
This attribute is a pythonic iterator over all items in this
|
||||
`PropertyGrid` property container, excluding only private child
|
||||
@@ -468,7 +468,7 @@ def run():
|
||||
yield it.GetProperty()
|
||||
it.Next()
|
||||
""")
|
||||
c.addPyProperty('Items', 'Items')
|
||||
c.addPyProperty('Items', '_Items')
|
||||
|
||||
|
||||
#----------------------------------------------------------
|
||||
|
||||
@@ -20,7 +20,6 @@ DOCSTRING = ""
|
||||
ITEMS = [ 'wxPropertyGridHitTestResult',
|
||||
'wxPropertyGridIteratorBase',
|
||||
'wxPropertyGridIterator',
|
||||
#'wxPropertyGridConstIterator', # probably not needed in Python...
|
||||
'wxPGVIterator',
|
||||
'wxPropertyGridPageState',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user