Skip to content

Commit

Permalink
M0ve the call to addAutoProperties into the doCommonTweaks function, …
Browse files Browse the repository at this point in the history
…but make it not generate the auto properties if there are already properties in the class or the class explicitly clears the alllowAutoProperties flag, turning it off.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
  • Loading branch information
RobinD42 committed Oct 24, 2011
1 parent 54520f7 commit 766baba
Show file tree
Hide file tree
Showing 52 changed files with 17 additions and 51 deletions.
1 change: 0 additions & 1 deletion etg/accel.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/bitmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/button.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/checkbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/checklst.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/choice.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/collpane.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/combobox.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class wxConfig : wxConfigBase

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/cursor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/dataobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/dataview.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/dc.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/dcgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def run():


#-----------------------------------------------------------------
tools.addAutoProperties(module)
tools.doCommonTweaks(module)
tools.runGenerators(module)

Expand Down
1 change: 0 additions & 1 deletion etg/dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/dirdlg.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/filedlg.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/gauge.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ def markFactories(klass):

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/imaglist.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/intl.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/listbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ def addTransferAnnotations(c, arg):

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/menuitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/msgdlg.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/nonownedwnd.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/platinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
5 changes: 4 additions & 1 deletion etg/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

# The classes and/or the basename of the Doxygen XML files to be processed by
# this script.
ITEMS = [ 'wxProcess' ]
ITEMS = [ 'wxProcess',
'wxProcessEvent',
]

#---------------------------------------------------------------------------

Expand All @@ -32,6 +34,7 @@ def run():



module.addPyCode('EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS )')


#-----------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion etg/radiobox.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/radiobtn.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/scrolwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/searchctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/sizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def addDefaults(func):

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/spinctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/statbmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/statline.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/stattext.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/statusbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/stdpaths.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/textctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def Notify(self):

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
1 change: 0 additions & 1 deletion etg/togglebtn.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def run():

#-----------------------------------------------------------------
tools.doCommonTweaks(module)
tools.addAutoProperties(module)
tools.runGenerators(module)


Expand Down
Loading

0 comments on commit 766baba

Please sign in to comment.