To be sure, I just tested with
Button:RegisterForClicks() without success.
Lua Code:
button:RegisterForClicks("LeftButtonUp", "RightButtonUp")
button:SetMouseClickEnabled(true)
I think the
PostClick script wouldn't be executed if the Click was ignored.