mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-12 23:07:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
9 lines
269 B
Python
9 lines
269 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)
|