parameters: (self, event)
return_statement: return keep_processing
docstring: This handler is only registered if the mask is a numeric mask.
          It allows the insertion of ',' or '.' if appropriate.
docstring_summary: This handler is only registered if the mask is a numeric mask.
          It allows the insertion of ',' or '.' if appropriate.
docstring_tokens: This handler is only registered if the mask is a numeric mask . It allows the insertion of or . if appropriate .
function: def _OnGroupChar(self, event):
          """
          This handler is only registered if the mask is a numeric mask.
          It allows the insertion of ',' or '.' if appropriate.
          """
  ##        dbg('MaskedEditMixin::_OnGroupChar', indent=1)
          keep_processing = True
          pos = self._adjustPos(self._GetInsertionPoint(), event.GetKeyCode())
          sel_start, sel_to = self._GetSelection()
          groupchar = self._fields[0]._groupChar
          if not self._isCharAllowed(groupchar, pos, checkRegex=True):
              keep_processing = False
              if not wx.Validator_IsSilent():
                  wx.Bell()
  
          if keep_processing:
              newstr, newpos = self._insertKey(groupchar, pos, sel_start, sel_to, self._GetValue() )
  ##            dbg("str with '%s' inserted:" % groupchar, '"%s"' % newstr)
              if self._ctrl_constraints._validRequired and not self.IsValid(newstr):
                  keep_processing = False
                  if not wx.Validator_IsSilent():
                          wx.Bell()
  
          if keep_processing:
              wx.CallAfter(self._SetValue, newstr)
              wx.CallAfter(self._SetInsertionPoint, newpos)
          keep_processing = False
  ##        dbg(indent=0)
          return keep_processing
function_tokens: def _OnGroupChar ( self , event ) : ##        dbg('MaskedEditMixin::_OnGroupChar', indent=1) keep_processing = True pos = self . _adjustPos ( self . _GetInsertionPoint ( ) , event . GetKeyCode ( ) ) sel_start , sel_to = self . _GetSelection ( ) groupchar = self . _fields [ 0 ] . _groupChar if not self . _isCharAllowed ( groupchar , pos , checkRegex = True ) : keep_processing = False if not wx . Validator_IsSilent ( ) : wx . Bell ( ) if keep_processing : newstr , newpos = self . _insertKey ( groupchar , pos , sel_start , sel_to , self . _GetValue ( ) ) ##            dbg("str with '%s' inserted:" % groupchar, '"%s"' % newstr) if self . _ctrl_constraints . _validRequired and not self . IsValid ( newstr ) : keep_processing = False if not wx . Validator_IsSilent ( ) : wx . Bell ( ) if keep_processing : wx . CallAfter ( self . _SetValue , newstr ) wx . CallAfter ( self . _SetInsertionPoint , newpos ) keep_processing = False ##        dbg(indent=0) return keep_processing