Dont import wx unless really necessary