#---------------------------------------------------------------------------
def runTest(frame, nb, log):
#---------------------------------------------------------------------------
def runTest(frame, nb, log):
- data = wxColourData()
- data.SetChooseFull(true)
- dlg = wxColourDialog(frame, data)
+ dlg = wxColourDialog(frame)
+ dlg.GetColourData().SetChooseFull(True)
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()))