mdlDialog_pushButtonActivate() with PushButtonX

the function

mdlDialog_pushButtonActivate()

that works ok with PushButton , does not seem to work with  PushButtonX

is there a different function to call to simulate button press ?