The wx.ColourPIckerEvent has a GetColour() method, so that should work for these changes instead of having to get the EventObject first.