def OnDestroy(self, hwnd, msg, wparam, lparam): # We don't have to Shell_NotifyIcon to delete it, since # we destroyed pass