Handles.Button depreciated. What's the new way to do it?

Unity 2017 says Handles.Button is obsolete, but I’m totally unable to convert this code into a non-obsolete one. Anyone knows how to do it?

You need to change Handles.DotCap to Handles.DotHandleCap to fix this problem.