]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_picker.i
Apply parts of patch #1719888 to fix compilation on Mac and with
[wxWidgets.git] / wxPython / src / _picker.i
index 8859e174a2a7c28893219019bf8d318bf0da164f..3d1384ca96aae8d93ef247bf3fceebcf35bac150 100644 (file)
@@ -119,6 +119,16 @@ etc).", "");
         wxControl *, GetPickerCtrl(),
         "", "");
 
+
+    %property(InternalMargin, GetInternalMargin, SetInternalMargin, doc="See `GetInternalMargin` and `SetInternalMargin`");
+    %property(PickerCtrl, GetPickerCtrl, doc="See `GetPickerCtrl`");
+    %property(PickerCtrlProportion, GetPickerCtrlProportion, SetPickerCtrlProportion, doc="See `GetPickerCtrlProportion` and `SetPickerCtrlProportion`");
+    %property(TextCtrl, GetTextCtrl, doc="See `GetTextCtrl`");
+    %property(TextCtrlProportion, GetTextCtrlProportion, SetTextCtrlProportion, doc="See `GetTextCtrlProportion` and `SetTextCtrlProportion`");
+
+    %property(TextCtrlGrowable, IsTextCtrlGrowable, SetTextCtrlGrowable, doc="See `IsTextCtrlGrowable` and `SetTextCtrlGrowable`");
+    %property(PickerCtrlGrowable, IsPickerCtrlGrowable, SetPickerCtrlGrowable, doc="See `IsPickerCtrlGrowable` and `SetPickerCtrlGrowable`");
+    
 };
 
 //---------------------------------------------------------------------------
@@ -143,6 +153,7 @@ clicked. Native implementations may differ but this is usually a
 "
 Window Styles
 -------------
+
     ======================  ============================================
     wx.CLRP_DEFAULT         Default style.
     wx.CLRP_USE_TEXTCTRL    Creates a text control to the left of the
@@ -158,6 +169,7 @@ Window Styles
 
 Events
 ------
+
     ========================  ==========================================
     EVT_COLOURPICKER_CHANGED  The user changed the colour selected in the
                               control either using the button or using the
@@ -390,7 +402,7 @@ public:
 
     wxFontPickerCtrl(wxWindow *parent,
                      wxWindowID id=-1,
-                     const wxFont& initial = *wxNORMAL_FONT,
+                     const wxFont& initial = wxNullFont,
                      const wxPoint& pos = wxDefaultPosition,
                      const wxSize& size = wxDefaultSize,
                      long style = wxFNTP_DEFAULT_STYLE,
@@ -400,7 +412,7 @@ public:
 
     bool Create(wxWindow *parent,
                 wxWindowID id=-1,
-                const wxFont& initial = *wxNORMAL_FONT,
+                const wxFont& initial = wxNullFont,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxFNTP_DEFAULT_STYLE,