The hosts made a strong start, with wingers Kevin Betsy and Matt Phillips causing problems early on, the latter working well down the right to set up Davies on four minutes who shot wide.
Stockport had to wait until the 33rd minute for their first meaningful chance but James Vincent could only send a free header well wide from close range as the first half ended goalless.
The Chairboys started the second half brightly with the impressive John Akinde going close twice before John Mousinho’s 20-yard drive was well saved by Owain Fon Williams.
The visitors stunned Wycombe with 25 minutes to go when Liam Bridcutt’s raking ball found Carl Baker who unleashed a stunning left-footed curler into the top corner for his 12th of the season.
But 10 minutes later the home side were level as Chris Westwood headed home from a Davies cross, before Davies’ shot from the edge of the box took a wicked deflection beyond Fon Williams to seal the points seven minutes from time.