Resolve #222 (Use of ordered dicts in gui bumped python requirement to 2.7)

This commit is contained in:
DarkPhoenix
2010-10-29 09:34:45 +04:00
parent b5a6fb5e13
commit 0f7678aaab
3 changed files with 116 additions and 6 deletions

View File

@@ -20,11 +20,15 @@
import os.path
import config
import wx
import collections
import time
try:
from collections import OrderedDict
except ImportError:
from compat import OrderedDict
cachedBitmapsCount = 0
cachedBitmaps = collections.OrderedDict()
cachedBitmaps = OrderedDict()
dontUseCachedBitmaps = False
def getStaticBitmap(name, parent, location):