Hi all,

[NSButton sendActionOn:] does not work at all. This is because of

  if ([_cell isContinuous])
    {
      oldActionMask = [_cell sendActionOn: NSPeriodicMask];
    }
  else
    {
      oldActionMask = [_cell sendActionOn: 0];
    }

in [NSControl mouseDown:]. If I comment these lines out and kill the last 3 lines of the method
  //[_cell sendActionOn: oldActionMask];

//  if (mouseUp)
  //  [self sendAction: [self action] to: [self target]];

everything works as expected. Why does NSControl just ignore my settings and resets everything back to 0 before handling the event?

Please send me a CC.


Thanks
Marc



_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to