Skip to content

Commit

Permalink
Update 0121
Browse files Browse the repository at this point in the history
  • Loading branch information
Puiching-Memory committed Jan 21, 2022
1 parent 9d87513 commit 5897337
Show file tree
Hide file tree
Showing 6 changed files with 1,126 additions and 49 deletions.
11 changes: 1 addition & 10 deletions GUI_Main.fbp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<property name="window_style">wxTAB_TRAVERSAL</property>
<property name="xrc_skip_sizer">1</property>
<event name="OnClose">Close</event>
<object class="wxBoxSizer" expanded="0">
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">bSizer2</property>
<property name="orient">wxVERTICAL</property>
Expand Down Expand Up @@ -126,15 +126,6 @@
</object>
</object>
</object>
<object class="wxTimer" expanded="1">
<property name="enabled">1</property>
<property name="id">wxID_ANY</property>
<property name="name">T_Check</property>
<property name="oneshot">0</property>
<property name="period">500</property>
<property name="permission">protected</property>
<event name="OnTimer">Check</event>
</object>
</object>
</object>
</wxFormBuilder_Project>
8 changes: 0 additions & 8 deletions GUI_Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,11 @@ def __init__( self, parent ):

self.SetSizer( bSizer2 )
self.Layout()
self.T_Check = wx.Timer()
self.T_Check.SetOwner( self, wx.ID_ANY )
self.T_Check.Start( 500 )


self.Centre( wx.BOTH )

# Connect Events
self.Bind( wx.EVT_CLOSE, self.Close )
self.Bind( wx.EVT_TIMER, self.Check, id=wx.ID_ANY )

def __del__( self ):
pass
Expand All @@ -52,7 +47,4 @@ def __del__( self ):
def Close( self, event ):
event.Skip()

def Check( self, event ):
event.Skip()


Loading

0 comments on commit 5897337

Please sign in to comment.