Removed a draw 'optimization' in PFListPane.RefreshList as it caused some problems when the pane was resized (hidden items werent updated even if it was needed as result of resizing)
This commit is contained in:
@@ -148,8 +148,7 @@ class PFListPane(wx.ScrolledWindow):
|
||||
itemX,itemY = self._wList[i].GetPosition()
|
||||
self._wList[i].SetSize((cwidth, iheight))
|
||||
if doRefresh == True:
|
||||
if itemY >=-iheight and itemY< clientH:
|
||||
self._wList[i].Refresh()
|
||||
self._wList[i].Refresh()
|
||||
|
||||
if doFocus:
|
||||
self.SetFocus()
|
||||
|
||||
Reference in New Issue
Block a user