Created
December 10, 2008 02:23
-
-
Save batok/34202 to your computer and use it in GitHub Desktop.
This is also a hack on ObjectListView.py to make the control work in virtual and group mode in Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def RefreshObjects(self, aList=None): | |
| """ | |
| Refresh all the objects in the given list | |
| """ | |
| # We can only refresh everything | |
| self.lastGetObjectIndex = -1 | |
| print self.GetItemCount() | |
| if self.GetItemCount() == 0: | |
| pass | |
| else: | |
| self.RefreshItems(0, self.GetItemCount()-1) | |
| #self.Refresh() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment