From 698ae0d03d126cd9eb7766f1790fef6e697b9870 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Tue, 12 Jan 2010 16:13:17 +0000 Subject: [PATCH] FIX: AutoBufferedPaint doesn't work in windows and mac os x --- invesalius/gui/dicom_preview_panel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/gui/dicom_preview_panel.py b/invesalius/gui/dicom_preview_panel.py index 0083725..36e4cdd 100755 --- a/invesalius/gui/dicom_preview_panel.py +++ b/invesalius/gui/dicom_preview_panel.py @@ -117,7 +117,7 @@ class DicomPaintPanel(wx.Panel): def OnPaint(self, evt): if self.image: - dc = wx.AutoBufferedPaintDC(self) + dc = wx.PaintDC(self) dc.Clear() dc.DrawBitmap(self.bmp, 0, 0) -- libgit2 0.21.2