]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_controls.py
bitwise vs. logical operator
[wxWidgets.git] / wxPython / src / msw / _controls.py
index 918eecec869ad6eef1fc71138976d8cee93a2ce1..6856736c356655929352997d34cc86bac5c77bf5 100644 (file)
@@ -707,14 +707,6 @@ class ComboBox(Choice):
         """
         return _controls_.ComboBox_SetStringSelection(*args, **kwargs)
 
         """
         return _controls_.ComboBox_SetStringSelection(*args, **kwargs)
 
-    def SetString(*args, **kwargs):
-        """
-        SetString(self, int n, String string)
-
-        Set the label for the n'th item (zero based) in the list.
-        """
-        return _controls_.ComboBox_SetString(*args, **kwargs)
-
     def SetEditable(*args, **kwargs):
         """SetEditable(self, bool editable)"""
         return _controls_.ComboBox_SetEditable(*args, **kwargs)
     def SetEditable(*args, **kwargs):
         """SetEditable(self, bool editable)"""
         return _controls_.ComboBox_SetEditable(*args, **kwargs)
@@ -1930,6 +1922,10 @@ class TextCtrl(_core.Control):
         """SetEditable(self, bool editable)"""
         return _controls_.TextCtrl_SetEditable(*args, **kwargs)
 
         """SetEditable(self, bool editable)"""
         return _controls_.TextCtrl_SetEditable(*args, **kwargs)
 
+    def MacCheckSpelling(*args, **kwargs):
+        """MacCheckSpelling(self, bool check)"""
+        return _controls_.TextCtrl_MacCheckSpelling(*args, **kwargs)
+
     def SendTextUpdatedEvent(*args, **kwargs):
         """SendTextUpdatedEvent(self)"""
         return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
     def SendTextUpdatedEvent(*args, **kwargs):
         """SendTextUpdatedEvent(self)"""
         return _controls_.TextCtrl_SendTextUpdatedEvent(*args, **kwargs)
@@ -4463,7 +4459,7 @@ class ListCtrl(_core.Control):
             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl
         """
         _controls_.ListCtrl_swiginit(self,_controls_.new_ListCtrl(*args, **kwargs))
             Validator validator=DefaultValidator, String name=ListCtrlNameStr) -> ListCtrl
         """
         _controls_.ListCtrl_swiginit(self,_controls_.new_ListCtrl(*args, **kwargs))
-        self._setOORInfo(self);self._setCallbackInfo(self, ListCtrl)
+        self._setOORInfo(self);ListCtrl._setCallbackInfo(self, self, ListCtrl)
 
     def Create(*args, **kwargs):
         """
 
     def Create(*args, **kwargs):
         """
@@ -5185,7 +5181,7 @@ class TreeCtrl(_core.Control):
             String name=TreeCtrlNameStr) -> TreeCtrl
         """
         _controls_.TreeCtrl_swiginit(self,_controls_.new_TreeCtrl(*args, **kwargs))
             String name=TreeCtrlNameStr) -> TreeCtrl
         """
         _controls_.TreeCtrl_swiginit(self,_controls_.new_TreeCtrl(*args, **kwargs))
-        self._setOORInfo(self);self._setCallbackInfo(self, TreeCtrl)
+        self._setOORInfo(self);TreeCtrl._setCallbackInfo(self, self, TreeCtrl)
 
     def Create(*args, **kwargs):
         """
 
     def Create(*args, **kwargs):
         """
@@ -5759,7 +5755,7 @@ class PyControl(_core.Control):
             String name=ControlNameStr) -> PyControl
         """
         _controls_.PyControl_swiginit(self,_controls_.new_PyControl(*args, **kwargs))
             String name=ControlNameStr) -> PyControl
         """
         _controls_.PyControl_swiginit(self,_controls_.new_PyControl(*args, **kwargs))
-        self._setOORInfo(self); self._setCallbackInfo(self, PyControl)
+        self._setOORInfo(self);PyControl._setCallbackInfo(self, self, PyControl)
 
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
 
     def _setCallbackInfo(*args, **kwargs):
         """_setCallbackInfo(self, PyObject self, PyObject _class)"""
@@ -7116,6 +7112,8 @@ class CollapsiblePane(_core.Control):
         """
         return _controls_.CollapsiblePane_GetPane(*args, **kwargs)
 
         """
         return _controls_.CollapsiblePane_GetPane(*args, **kwargs)
 
+    Expanded = property(IsExpanded) 
+    Collapsed = property(IsCollapsed) 
 _controls_.CollapsiblePane_swigregister(CollapsiblePane)
 CollapsiblePaneNameStr = cvar.CollapsiblePaneNameStr
 
 _controls_.CollapsiblePane_swigregister(CollapsiblePane)
 CollapsiblePaneNameStr = cvar.CollapsiblePaneNameStr
 
@@ -7146,6 +7144,7 @@ class CollapsiblePaneEvent(_core.CommandEvent):
         """SetCollapsed(self, bool c)"""
         return _controls_.CollapsiblePaneEvent_SetCollapsed(*args, **kwargs)
 
         """SetCollapsed(self, bool c)"""
         return _controls_.CollapsiblePaneEvent_SetCollapsed(*args, **kwargs)
 
+    Collapsed = property(GetCollapsed,SetCollapsed) 
 _controls_.CollapsiblePaneEvent_swigregister(CollapsiblePaneEvent)
 
 
 _controls_.CollapsiblePaneEvent_swigregister(CollapsiblePaneEvent)