]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-09/color_box.py
don't use invalid wxIconBundles, it results in asserts after recent changes
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-09 / color_box.py
1 import wx
2
3 if __name__ == "__main__":
4 app = wx.PySimpleApp()
5 dialog = wx.ColourDialog(None)
6 dialog.GetColourData().SetChooseFull(True)
7 if dialog.ShowModal() == wx.ID_OK:
8 data = dialog.GetColourData()
9 print 'You selected: %s\n' % str(data.GetColour().Get())
10 dialog.Destroy()