|
|
|
@ -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,
|
|
|
|
|