Esempio n. 1
0
 def _OnFocusLost(self, event):
     TextCtrl_LC._OnFocusLost(self, event)
     v = self.GetValue() or ''
     if v:
         p = 'http://'
         if not v.lower().startswith(p):
             self.SetValue(p+v)
Esempio n. 2
0
 def _OnFocusLost(self, event):
     TextCtrl_LC._OnFocusLost(self, event)
     v = self.GetValue() or ''
     if v:
         p = 'http://'
         if not v.lower().startswith(p):
             self.SetValue(p + v)