diff --git a/smstool.py b/smstool.py index 82edd2d..f1866e8 100644 --- a/smstool.py +++ b/smstool.py @@ -6,22 +6,6 @@ from re import sub SMSLEN = 160 -#class FloatValidator(wxValidator): -# def Clone (self): -# return self.__class__() -# def Validate(self, window): -# ctrl =wxPyTypeCast(self.GetWindow(), "wxTextCtrl") -# try: -# value = float( ctrl.GetValue()) -# return true -# except ValueError: -# wx.MessageBox("A text object must contain some text!", "Error") -# return false -# def TransferToWindow(self): -# return true -# def TransferFromWindow(self): -# return true - class SmsToolFrame(wxFrame): def __init__(self, parent, id, title): wxFrame.__init__(self, parent, id, title,