There's nothing wrong with your code or declaration. Its a bug in PowerPoint that Microsoft has not yet fixed since PowerPoint 2007.
According to MSDN the double click event gets fired on 3 views but in reality it only gets fired in the slide sorter view. Only the OnWindowSelection
events gets fired in PowerPoint.