mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Phoenix:
- 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:
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user