]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_picker.i
save a reference to the bitmap so it doesn't get destroyed before the
[wxWidgets.git] / wxPython / src / _picker.i
index d3ca422fcf230d81e77d06790782919d1c1e76ad..88e616e403077458e6d432d6f7c664612bb7e9ef 100644 (file)
@@ -400,7 +400,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,
@@ -410,7 +410,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,