# -*- coding: utf-8 -*-
###########################################################################
## Python code generated with wxFormBuilder (version Nov 7 2017)
## [Link]
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################
import wx
import [Link]
import [Link]
###########################################################################
## Class MainFrame
###########################################################################
class MainFrame ( [Link] ):
def __init__( self, parent ):
[Link].__init__ ( self, parent, id = wx.ID_ANY, title = u"TuxCut",
pos = [Link], size = [Link]( 750,400 ), style = [Link]|
wx.CLOSE_BOX|wx.MINIMIZE_BOX )
[Link]( [Link]( 750,400 ), [Link]( 750,400 ) )
bSizer7 = [Link]( [Link] )
bSizer2 = [Link]( [Link] )
self.cb_protection = [Link]( self, wx.ID_ANY, u"Protect My
Computer", [Link], [Link], 0 )
[Link]( self.cb_protection, 0, [Link], 5 )
[Link]( bSizer2, 0, 0, 5 )
self.hosts_view = [Link]( self, wx.ID_ANY,
[Link], [Link]( -1,-1 ), [Link].DV_ROW_LINES|wx.DOUBLE_BORDER )
self.hosts_view.SetFont( [Link]( 10, wx.FONTFAMILY_DEFAULT,
wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL, False, [Link] ) )
[Link]( self.hosts_view, 1, wx.ALIGN_CENTER|
wx.ALIGN_CENTER_HORIZONTAL|wx.ALIGN_CENTER_VERTICAL|[Link]|[Link], 5 )
[Link]( bSizer7 )
[Link]()
[Link] = [Link]( 0, wx.ID_ANY )
[Link]()
[Link]( [Link] )
# Connect Events
self.cb_protection.Bind( wx.EVT_CHECKBOX, self.toggle_protection )
def __del__( self ):
pass
# Virtual event handlers, overide them in your derived class
def toggle_protection( self, event ):
[Link]()