DolphinWX: Use the typesafe equivalents for declaring wx event types

The others were used when wx 2.4 was around.