use wx.isbusy to test the busy cursor state