self.Bind(wx.EVT_BUTTON, self.bu55, self.button_55)
self.Bind(wx.EVT_BUTTON, self.bu56, self.button_56)
self.Bind(wx.EVT_BUTTON, self.bu57, self.button_57)
self.Bind(wx.EVT_BUTTON, self.bu58, self.button_58)
self.Bind(wx.EVT_BUTTON, self.bu59, self.button_59)
self.Bind(wx.EVT_BUTTON, self.bu60, self.button_60)
self.Bind(wx.EVT_BUTTON, self.bu61, self.button_61)
self.Bind(wx.EVT_BUTTON, self.bu62, self.button_62)
self.Bind(wx.EVT_BUTTON, self.bu63, self.button_63)
self.Bind(wx.EVT_BUTTON, self.bu64, self.button_64)
self.Bind(wx.EVT_BUTTON, self.bu65, self.button_65)
self.Bind(wx.EVT_BUTTON, self.bu66, self.button_66)
self.Bind(wx.EVT_BUTTON, self.bu67, self.button_67)
self.Bind(wx.EVT_BUTTON, self.bu68, self.button_68)
self.Bind(wx.EVT_BUTTON, self.bu69, self.button_69)
self.Bind(wx.EVT_BUTTON, self.bu70, self.button_70)
self.Bind(wx.EVT_BUTTON, self.bu71, self.button_71)
self.Bind(wx.EVT_BUTTON, self.bu72, self.button_72)
self.Bind(wx.EVT_BUTTON, self.bu73, self.button_73)
self.Bind(wx.EVT_BUTTON, self.bu74, self.button_74)
# end wxGlade
self.Show(True)
def __set_properties(self):
# begin wxGlade: MyFrame.__set_properties
self.SetTitle("Python Calculater by CYG")
self.text_ctrl_1.SetMinSize((500, 30))
self.text_ctrl_2.SetMinSize((500, 50))
self.button_37.SetMinSize((100, 60))
self.button_38.SetMinSize((100, 60))
self.button_39.SetMinSize((100, 60))
self.button_40.SetMinSize((100, 60))
self.button_41.SetMinSize((100, 60))
self.button_42.SetMinSize((100, 60))
self.button_43.SetMinSize((100, 60))
self.button_44.SetMinSize((100, 60))
self.button_46.SetMinSize((100, 60))
self.button_45.SetMinSize((100, 60))
self.button_47.SetMinSize((100, 60))
self.button_48.SetMinSize((100, 60))
self.button_49.SetMinSize((100, 60))
self.button_50.SetMinSize((100, 60))
self.button_51.SetMinSize((100, 60))
self.button_52.SetMinSize((100, 60))
self.button_53.SetMinSize((100, 60))
self.button_54.SetMinSize((100, 60))
self.button_55.SetMinSize((100, 60))
self.button_56.SetMinSize((100, 60))
self.button_57.SetMinSize((83, 50))
self.button_58.SetMinSize((83, 50))
self.button_59.SetMinSize((83, 50))
self.button_60.SetMinSize((83, 50))
self.button_61.SetMinSize((83, 50))
self.button_62.SetMinSize((83, 50))
self.button_63.SetMinSize((83, 50))
self.button_64.SetMinSize((83, 50))
self.button_65.SetMinSize((83, 50))
self.button_66.SetMinSize((83, 50))
self.button_67.SetMinSize((83, 50))
self.button_68.SetMinSize((83, 50))
self.button_69.SetMinSize((83, 50))
self.button_70.SetMinSize((83, 50))
self.button_71.SetMinSize((83, 50))
self.button_72.SetMinSize((83, 50))
self.button_73.SetMinSize((83, 50))
self.button_74.SetMinSize((83, 50))
# end wxGlade
def __do_layout(self):
# begin wxGlade: MyFrame.__do_layout
sizer_2 = wx.BoxSizer(wx.VERTICAL)
sizer_3 = wx.BoxSizer(wx.VERTICAL)
grid_sizer_1 = wx.GridSizer(4, 5, 0, 0)
grid_sizer_2 = wx.GridSizer(3, 6, 0, 0)
sizer_3.Add(self.text_ctrl_2, 0, 0, 0)
sizer_3.Add(self.text_ctrl_1, 0, 0, 0)
grid_sizer_1.Add(self.button_37, 0, 0, 0)
grid_sizer_1.Add(self.button_38, 0, 0, 0)
grid_sizer_1.Add(self.button_39, 0, 0, 0)
grid_sizer_1.Add(self.button_40, 0, 0, 0)
grid_sizer_1.Add(self.button_41, 0, 0, 0)
grid_sizer_1.Add(self.button_42, 0, 0, 0)
grid_sizer_1.Add(self.button_43, 0, 0, 0)