Use a wx.GCDC

This commit is contained in:
Robin Dunn
2016-07-29 20:08:10 -07:00
parent 11a81ee9e4
commit 56e8241e8f

View File

@@ -24,6 +24,8 @@ class pseudodc_Tests(wtc.WidgetTestCase):
def _paintIt(self, evt):
# Paint event handler for the panel
dc = wx.PaintDC(self.pnl)
if 'wxMac' not in wx.PlatformInfo:
dc = wx.GCDC(dc)
self.pdc.DrawToDC(dc)
def _showIt(self):