<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def OnBGColor(self, event):
 """Background color choice event handler"""


        color = event.GetValue().GetRGB()

        post_command_event(self, self.BackgroundColorMsg, color=color)