]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_controls.py
Add InsertProvider
[wxWidgets.git] / wxPython / src / msw / _controls.py
index df638fff8c85a1b0d8ecfe693307ec9d2f07b8e3..df1e8e58c346d09d5324a62f8137e98e8db4cea7 100644 (file)
@@ -5724,8 +5724,6 @@ def PrePyControl(*args, **kwargs):
 
 #---------------------------------------------------------------------------
 
-FRAME_EX_CONTEXTHELP = _controls_.FRAME_EX_CONTEXTHELP
-DIALOG_EX_CONTEXTHELP = _controls_.DIALOG_EX_CONTEXTHELP
 wxEVT_HELP = _controls_.wxEVT_HELP
 wxEVT_DETAILED_HELP = _controls_.wxEVT_DETAILED_HELP
 EVT_HELP = wx.PyEventBinder( wxEVT_HELP, 1)
@@ -5836,7 +5834,7 @@ class ContextHelp(_core.Object):
 
     There are a couple of ways to invoke this behaviour implicitly:
 
-        * Use the wx.DIALOG_EX_CONTEXTHELP extended style for a dialog
+        * Use the wx.WS_EX_CONTEXTHELP extended style for a dialog or frame
           (Windows only). This will put a question mark in the titlebar,
           and Windows will put the application into context-sensitive help
           mode automatically, with further programming.
@@ -5844,7 +5842,7 @@ class ContextHelp(_core.Object):
         * Create a `wx.ContextHelpButton`, whose predefined behaviour is
           to create a context help object. Normally you will write your
           application so that this button is only added to a dialog for
-          non-Windows platforms (use ``wx.DIALOG_EX_CONTEXTHELP`` on
+          non-Windows platforms (use ``wx.WS_EX_CONTEXTHELP`` on
           Windows).
 
     :see: `wx.ContextHelpButton`
@@ -6429,6 +6427,22 @@ class PickerBase(_core.Control):
         """
         return _controls_.PickerBase_GetTextCtrlProportion(*args, **kwargs)
 
+    def SetPickerCtrlProportion(*args, **kwargs):
+        """
+        SetPickerCtrlProportion(self, int prop)
+
+        Sets the proportion value of the picker.
+        """
+        return _controls_.PickerBase_SetPickerCtrlProportion(*args, **kwargs)
+
+    def GetPickerCtrlProportion(*args, **kwargs):
+        """
+        GetPickerCtrlProportion(self) -> int
+
+        Gets the proportion value of the picker.
+        """
+        return _controls_.PickerBase_GetPickerCtrlProportion(*args, **kwargs)
+
     def IsTextCtrlGrowable(*args, **kwargs):
         """IsTextCtrlGrowable(self) -> bool"""
         return _controls_.PickerBase_IsTextCtrlGrowable(*args, **kwargs)