#!/usr/bin/python
# coding: utf-8
import sys, os
import wx
sys.path.append(os.path.join(os.getcwd(), 'base'))
sys.path.append(os.path.join(os.getcwd(), 'cute'))
from cute import cutewindow
import config, threadlist

class cuteApp(wx.App):
    def __init__(self):                
        wx.App.__init__(self, 0)
        return None

    def OnInit(self):
        wx.InitAllImageHandlers()       
        self.frame = cutewindow.MainFrame(None, 101, config.VERSION)
        self.frame.Show(True)
        self.frame.CenterOnScreen()
        self.SetTopWindow(self.frame)
        self.Bind(wx.EVT_ACTIVATE_APP, self.OnActivate)
        return True
        
    def OnActivate(self, event):
        if event.GetActive():
            #self.frame.OnActivate()
            pass
        event.Skip()
        

if __name__ == '__main__':
    thsch = threadlist.Schedule()
    thtask = threadlist.Task()
    thsch.start()
    thtask.start()
    
    app = cuteApp()
    app.MainLoop()
    
    thsch.is_running = False
    thtask.is_running = False
    
    thsch.join()
    thtask.join()
    
    

9a6ce8f5712b3eb44af8bd3e8ebfeb46ee01eaa6
<mask token>


class cuteApp(wx.App):

    def __init__(self):
        wx.App.__init__(self, 0)
        return None
    <mask token>
    <mask token>


<mask token>

<mask token>


class cuteApp(wx.App):

    def __init__(self):
        wx.App.__init__(self, 0)
        return None

    def OnInit(self):
        wx.InitAllImageHandlers()
        self.frame = cutewindow.MainFrame(None, 101, config.VERSION)
        self.frame.Show(True)
        self.frame.CenterOnScreen()
        self.SetTopWindow(self.frame)
        self.Bind(wx.EVT_ACTIVATE_APP, self.OnActivate)
        return True

    def OnActivate(self, event):
        if event.GetActive():
            pass
        event.Skip()


<mask token>

<mask token>
sys.path.append(os.path.join(os.getcwd(), 'base'))
sys.path.append(os.path.join(os.getcwd(), 'cute'))
<mask token>


class cuteApp(wx.App):

    def __init__(self):
        wx.App.__init__(self, 0)
        return None

    def OnInit(self):
        wx.InitAllImageHandlers()
        self.frame = cutewindow.MainFrame(None, 101, config.VERSION)
        self.frame.Show(True)
        self.frame.CenterOnScreen()
        self.SetTopWindow(self.frame)
        self.Bind(wx.EVT_ACTIVATE_APP, self.OnActivate)
        return True

    def OnActivate(self, event):
        if event.GetActive():
            pass
        event.Skip()


if __name__ == '__main__':
    thsch = threadlist.Schedule()
    thtask = threadlist.Task()
    thsch.start()
    thtask.start()
    app = cuteApp()
    app.MainLoop()
    thsch.is_running = False
    thtask.is_running = False
    thsch.join()
    thtask.join()

import sys, os
import wx
sys.path.append(os.path.join(os.getcwd(), 'base'))
sys.path.append(os.path.join(os.getcwd(), 'cute'))
from cute import cutewindow
import config, threadlist


class cuteApp(wx.App):

    def __init__(self):
        wx.App.__init__(self, 0)
        return None

    def OnInit(self):
        wx.InitAllImageHandlers()
        self.frame = cutewindow.MainFrame(None, 101, config.VERSION)
        self.frame.Show(True)
        self.frame.CenterOnScreen()
        self.SetTopWindow(self.frame)
        self.Bind(wx.EVT_ACTIVATE_APP, self.OnActivate)
        return True

    def OnActivate(self, event):
        if event.GetActive():
            pass
        event.Skip()


if __name__ == '__main__':
    thsch = threadlist.Schedule()
    thtask = threadlist.Task()
    thsch.start()
    thtask.start()
    app = cuteApp()
    app.MainLoop()
    thsch.is_running = False
    thtask.is_running = False
    thsch.join()
    thtask.join()

#!/usr/bin/python
# coding: utf-8
import sys, os
import wx
sys.path.append(os.path.join(os.getcwd(), 'base'))
sys.path.append(os.path.join(os.getcwd(), 'cute'))
from cute import cutewindow
import config, threadlist

class cuteApp(wx.App):
    def __init__(self):                
        wx.App.__init__(self, 0)
        return None

    def OnInit(self):
        wx.InitAllImageHandlers()       
        self.frame = cutewindow.MainFrame(None, 101, config.VERSION)
        self.frame.Show(True)
        self.frame.CenterOnScreen()
        self.SetTopWindow(self.frame)
        self.Bind(wx.EVT_ACTIVATE_APP, self.OnActivate)
        return True
        
    def OnActivate(self, event):
        if event.GetActive():
            #self.frame.OnActivate()
            pass
        event.Skip()
        

if __name__ == '__main__':
    thsch = threadlist.Schedule()
    thtask = threadlist.Task()
    thsch.start()
    thtask.start()
    
    app = cuteApp()
    app.MainLoop()
    
    thsch.is_running = False
    thtask.is_running = False
    
    thsch.join()
    thtask.join()
    
    
