Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pynxc/waxy/checklistbox.py
diff options
context:
space:
mode:
Diffstat (limited to 'pynxc/waxy/checklistbox.py')
-rw-r--r--pynxc/waxy/checklistbox.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/pynxc/waxy/checklistbox.py b/pynxc/waxy/checklistbox.py
new file mode 100644
index 0000000..67176a6
--- /dev/null
+++ b/pynxc/waxy/checklistbox.py
@@ -0,0 +1,27 @@
+# checklistbox.py
+# XXX doesn't work on Mac.
+
+# todo: styles (if any)
+
+import wx
+import waxyobject
+import styles
+
+class CheckListBox(wx.CheckListBox, waxyobject.WaxyObject):
+
+ __events__ = {
+ 'CheckListBox': wx.EVT_CHECKLISTBOX,
+ }
+
+ def __init__(self, parent, choices=[], size=None, **kwargs):
+ style = 0
+ #style |= checklistbox_params(kwargs)
+ style |= styles.window(kwargs)
+
+ wx.CheckListBox.__init__(self, parent, wx.NewId(), choices=choices, style=style)
+
+ self.BindEvents()
+
+ styles.properties(self, kwargs)
+
+