@@ -359,13 +359,13 @@ def __init__( self, parent ):
359359
360360 bSizer25 = wx .BoxSizer ( wx .HORIZONTAL )
361361
362- self .m_staticText30 = wx .StaticText ( self .scrolledWindow_set , wx .ID_ANY , u"Move box" , wx .DefaultPosition , wx .DefaultSize , 0 )
362+ self .m_staticText30 = wx .StaticText ( self .scrolledWindow_set , wx .ID_ANY , u"Select box" , wx .DefaultPosition , wx .DefaultSize , 0 )
363363 self .m_staticText30 .Wrap ( - 1 )
364364
365365 bSizer25 .Add ( self .m_staticText30 , 1 , wx .ALL | wx .ALIGN_CENTER_VERTICAL , 5 )
366366
367- self .move_img_box = wx .CheckBox ( self .scrolledWindow_set , wx .ID_ANY , wx .EmptyString , wx .DefaultPosition , wx .DefaultSize , 0 )
368- bSizer25 .Add ( self .move_img_box , 0 , wx .ALL , 5 )
367+ self .select_img_box = wx .CheckBox ( self .scrolledWindow_set , wx .ID_ANY , wx .EmptyString , wx .DefaultPosition , wx .DefaultSize , 0 )
368+ bSizer25 .Add ( self .select_img_box , 0 , wx .ALL , 5 )
369369
370370
371371 fgSizer3 .Add ( bSizer25 , 1 , wx .EXPAND , 5 )
@@ -567,6 +567,9 @@ def __init__( self, parent ):
567567 self .menu_left = wx .MenuItem ( self .m_menu2 , wx .ID_ANY , u"left" , wx .EmptyString , wx .ITEM_NORMAL )
568568 self .m_menu2 .Append ( self .menu_left )
569569
570+ self .menu_delete_box = wx .MenuItem ( self .m_menu2 , wx .ID_ANY , u"delete_box" , wx .EmptyString , wx .ITEM_NORMAL )
571+ self .m_menu2 .Append ( self .menu_delete_box )
572+
570573 self .m_menubar1 .Append ( self .m_menu2 , u"Edit" )
571574
572575 self .m_menu3 = wx .Menu ()
@@ -596,7 +599,7 @@ def __init__( self, parent ):
596599 self .magnifier .Bind ( wx .EVT_TOGGLEBUTTON , self .magnifier_fc )
597600 self .rotation .Bind ( wx .EVT_TOGGLEBUTTON , self .rotation_fc )
598601 self .choice_normalized_size .Bind ( wx .EVT_CHOICE , self .change_img_stitch_mode )
599- self .move_img_box .Bind ( wx .EVT_CHECKBOX , self .move_img_box_func )
602+ self .select_img_box .Bind ( wx .EVT_CHECKBOX , self .select_img_box_func )
600603 self .colourPicker_gap .Bind ( wx .EVT_COLOURPICKER_CHANGED , self .colour_change )
601604 self .background_slider .Bind ( wx .EVT_SCROLL , self .background_alpha )
602605 self .foreground_slider .Bind ( wx .EVT_SCROLL , self .foreground_alpha )
@@ -615,6 +618,7 @@ def __init__( self, parent ):
615618 self .Bind ( wx .EVT_MENU , self .down_img , id = self .menu_down .GetId () )
616619 self .Bind ( wx .EVT_MENU , self .right_img , id = self .menu_right .GetId () )
617620 self .Bind ( wx .EVT_MENU , self .left_img , id = self .menu_left .GetId () )
621+ self .Bind ( wx .EVT_MENU , self .delete_box , id = self .menu_delete_box .GetId () )
618622 self .Bind ( wx .EVT_MENU , self .index_table_gui , id = self .index_table .GetId () )
619623 self .Bind ( wx .EVT_MENU , self .about_gui , id = self .menu_about .GetId () )
620624
@@ -659,7 +663,7 @@ def rotation_fc( self, event ):
659663 def change_img_stitch_mode ( self , event ):
660664 event .Skip ()
661665
662- def move_img_box_func ( self , event ):
666+ def select_img_box_func ( self , event ):
663667 event .Skip ()
664668
665669 def colour_change ( self , event ):
@@ -706,6 +710,9 @@ def right_img( self, event ):
706710 def left_img ( self , event ):
707711 event .Skip ()
708712
713+ def delete_box ( self , event ):
714+ event .Skip ()
715+
709716 def index_table_gui ( self , event ):
710717 event .Skip ()
711718
0 commit comments