mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Move fixDialogProperty to tweaker_tools, and use it on more property classes
This commit is contained in:
@@ -408,6 +408,17 @@ def fixTextClipboardMethods(klass):
|
||||
except extractors.ExtractorError:
|
||||
pass
|
||||
|
||||
|
||||
def fixDialogProperty(klass):
|
||||
"""
|
||||
Fix classes derived from EditorDialogProperty to ensure that their
|
||||
DisplayEditorDialog method is visible.
|
||||
"""
|
||||
m = klass.find('DisplayEditorDialog')
|
||||
m.ignore(False)
|
||||
m.find('value').inOut = True
|
||||
|
||||
|
||||
def removeVirtuals(klass):
|
||||
"""
|
||||
Sometimes methods are marked as virtual but probably don't ever need to be
|
||||
|
||||
Reference in New Issue
Block a user