def runTest(frame, nb, log):
     dlg = wxColourDialog(frame)
 
 def runTest(frame, nb, log):
     dlg = wxColourDialog(frame)
     if dlg.ShowModal() == wxID_OK:
         data = dlg.GetColourData()
         log.WriteText('You selected: %s\n' % str(data.GetColour().Get()))
     if dlg.ShowModal() == wxID_OK:
         data = dlg.GetColourData()
         log.WriteText('You selected: %s\n' % str(data.GetColour().Get()))