mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Let the DCOverlay hold a reference to the dc, so it won't be GC'ed too soon.
This commit is contained in:
@@ -39,6 +39,9 @@ def run():
|
||||
|
||||
c = module.find('wxDCOverlay')
|
||||
c.addPrivateCopyCtor()
|
||||
for m in c.find('wxDCOverlay').all():
|
||||
m.find('dc').keepReference = True
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user