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