make sure ctypes packages are included

This commit is contained in:
Damien Elmes 2011-01-19 07:18:43 +09:00
parent 3bdf7bc7a9
commit f6407b8d4c

View file

@ -38,6 +38,9 @@ class AnkiQt(QMainWindow):
self.reviewingStarted = False self.reviewingStarted = False
if sys.platform.startswith("darwin"): if sys.platform.startswith("darwin"):
qt_mac_set_menubar_icons(False) qt_mac_set_menubar_icons(False)
elif sys.platform.startswith("win32"):
# make sure they're picked up on bundle
from ctypes import windll, wintypes
ankiqt.mw = self ankiqt.mw = self
self.app = app self.app = app
self.config = config self.config = config