- Fix some over-aggressive substitutions of `this` with `self` in the snippets;
- Fix `inheritance.py` (`class_summary` parameter was not defaulted).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Andrea Gavana
2012-04-09 11:54:44 +00:00
parent f748a0b068
commit bd26715e78
7 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
# | t.self.11 t.self.12 0 | | self.11 self.12 0 |
# matrix' = | t.self.21 t.self.22 0 | x | self.21 self.22 0 |
# | t.self.tx t.self.ty 1 | | self.tx self.ty 1 |
# | t.m_11 t.m_12 0 | | m_11 m_12 0 |
# matrix' = | t.m_21 t.m_22 0 | x | m_21 m_22 0 |
# | t.m_tx t.m_ty 1 | | m_tx m_ty 1 |

View File

@@ -1,4 +1,4 @@
# | self.11 self.12 0 |
# Invert | self.21 self.22 0 |
# | self.tx self.ty 1 |
# | m_11 m_12 0 |
# Invert | m_21 m_22 0 |
# | m_tx m_ty 1 |

View File

@@ -1,4 +1,4 @@
# | t.self.11 t.self.12 0 | | self.11 self.12 0 |
# matrix' = | t.self.21 t.self.22 0 | x | self.21 self.22 0 |
# | t.self.tx t.self.ty 1 | | self.tx self.ty 1 |
# | t.m_11 t.m_12 0 | | m_11 m_12 0 |
# matrix' = | t.m_21 t.m_22 0 | x | m_21 m_22 0 |
# | t.m_tx t.m_ty 1 | | m_tx m_ty 1 |

View File

@@ -1,4 +1,4 @@
# | self.11 self.12 0 |
# Invert | self.21 self.22 0 |
# | self.tx self.ty 1 |
# | m_11 m_12 0 |
# Invert | m_21 m_22 0 |
# | m_tx m_ty 1 |

View File

@@ -3,5 +3,5 @@
# all the log messages are sent to stderr and also processed as usually
# don't delete logChain directly as self would leave a dangling
# don't delete logChain directly as this would leave a dangling
# pointer as active log target, use SetActiveTarget() instead

View File

@@ -4,5 +4,5 @@
temp_dc.SelectObject(test_bitmap)
# We can now draw into the memory DC...
# Copy from self DC to another DC.
# Copy from this DC to another DC.
old_dc.Blit(250, 50, BITMAP_WIDTH, BITMAP_HEIGHT, temp_dc, 0, 0)

View File

@@ -202,7 +202,7 @@ class InheritanceDiagram(object):
# ----------------------------------------------------------------------- #
def MakeInheritanceDiagram(self, class_summary):
def MakeInheritanceDiagram(self, class_summary=None):
"""
Actually generates the inheritance diagram as a PNG file plus the corresponding
MAP file for mouse navigation over the inheritance boxes.