Revert "Dont call SetDoubleBuffered at all unless needed"

This reverts commit 628b80e515.
This commit is contained in:
HomeWorld
2010-11-24 12:18:06 +02:00
parent fa00b973c8
commit 7aa58ee907

View File

@@ -30,8 +30,7 @@ class Display(wx.ListCtrl):
#Autodetect
if doubleBuffered is None:
if "wxMSW" in wx.PlatformInfo and platform.release() != "XP":
self.SetDoubleBuffered(True)
self.SetDoubleBuffered("wxMSW" in wx.PlatformInfo and platform.release() != "XP")
else:
self.SetDoubleBuffered(doubleBuffered)