예제 #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)
예제 #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)