neingeist
/
smstool
Archived
1
0
Fork 0

Rename to "Simser"

master
neingeist 20 years ago
parent 06402e9697
commit cf33da6e63

@ -6,7 +6,7 @@ from re import sub
SMSLEN = 160 SMSLEN = 160
class SmsToolFrame(wxFrame): class SimserFrame(wxFrame):
def __init__(self, parent, id, title): def __init__(self, parent, id, title):
wxFrame.__init__(self, parent, id, title, wxFrame.__init__(self, parent, id, title,
wxPoint(100, 100), wxSize(450, 70)) wxPoint(100, 100), wxSize(450, 70))
@ -67,12 +67,12 @@ class SmsToolFrame(wxFrame):
def OnChange(self, event): def OnChange(self, event):
self.zaehler.SetLabel(str(SMSLEN-len(self.textCtrl.GetValue()))) self.zaehler.SetLabel(str(SMSLEN-len(self.textCtrl.GetValue())))
class SmsTool(wxApp): class Simser(wxApp):
def OnInit(self): def OnInit(self):
frame = SmsToolFrame(NULL, -1, "SmsTool") frame = SimserFrame(NULL, -1, "Simser")
frame.Show(true) frame.Show(true)
self.SetTopWindow(frame) self.SetTopWindow(frame)
return true return true
smstool=SmsTool(0) smstool=Simser(0)
smstool.MainLoop() smstool.MainLoop()