More import fixes for osx deprecated

This commit is contained in:
blitzman
2017-01-27 22:25:22 -05:00
parent 32dc28f48d
commit 6b3d3ecd93
4 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,10 @@ from gui.preferenceView import PreferenceView
from gui.bitmapLoader import BitmapLoader
import gui.mainFrame
from service.crest import Crest
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
from service.crest import Crest
from service.settings import CRESTSettings
from wx.lib.intctrl import IntCtrl

View File

@@ -4,7 +4,9 @@ import json
import wx
import requests
from service.crest import Crest, CrestModes
if not 'wxMac' in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3,0)):
from service.crest import Crest, CrestModes
from service.port import Port
from service.fit import Fit

View File

@@ -60,7 +60,6 @@ from gui import graphFrame
from service.settings import SettingsProvider
from service.fit import Fit
from service.character import Character
from service.crest import Crest
from service.update import Update
# import this to access override setting
@@ -76,6 +75,7 @@ import threading
import webbrowser
if 'wxMac' not in wx.PlatformInfo or ('wxMac' in wx.PlatformInfo and wx.VERSION >= (3, 0)):
from service.crest import Crest
from service.crest import CrestModes
from gui.crestFittings import CrestFittings, ExportToEve, CrestMgmt