Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/MemoryDC.1.py
Andrea Gavana bd26715e78 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
2012-04-09 11:54:44 +00:00

9 lines
285 B
Python

# Create a memory DC
temp_dc = wx.MemoryDC()
temp_dc.SelectObject(test_bitmap)
# We can now draw into the memory DC...
# Copy from this DC to another DC.
old_dc.Blit(250, 50, BITMAP_WIDTH, BITMAP_HEIGHT, temp_dc, 0, 0)