Diff of /plugins/spellcheck.py [e14689] .. [b96301] Maximize Restore

  Switch to unified view

a/plugins/spellcheck.py b/plugins/spellcheck.py
...
...
198
        ws.Add(s, 1, wx.ALL|wx.EXPAND, 2)
198
        ws.Add(s, 1, wx.ALL|wx.EXPAND, 2)
199
199
200
        self.SetSizer(ws)
200
        self.SetSizer(ws)
201
        self.SetAutoLayout(1)
201
        self.SetAutoLayout(1)
202
        self.SetupScrolling()
202
        self.SetupScrolling()
203
        self.timer = wx.Timer(self)
203
        self.timer = Timer(self.unload_d)
204
        self.Bind(wx.EVT_TIMER, self.unload_d)
205
        ## wx.CallAfter(self.load_d)
204
        ## wx.CallAfter(self.load_d)
206
    
205
    
207
    def unload_d(self, e):
206
    def unload_d(self, e=None):
208
        global dictionary
207
        global dictionary
209
        if dictionary:
208
        if dictionary:
210
            dictionary = {}
209
            dictionary = {}
211
    
210
    
212
    def _load(self):
211
    def _load(self):