Commit 698ae0d03d126cd9eb7766f1790fef6e697b9870

Authored by tfmoraes
1 parent b7466f15

FIX: AutoBufferedPaint doesn't work in windows and mac os x

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/dicom_preview_panel.py
... ... @@ -117,7 +117,7 @@ class DicomPaintPanel(wx.Panel):
117 117  
118 118 def OnPaint(self, evt):
119 119 if self.image:
120   - dc = wx.AutoBufferedPaintDC(self)
  120 + dc = wx.PaintDC(self)
121 121 dc.Clear()
122 122 dc.DrawBitmap(self.bmp, 0, 0)
123 123  
... ...