]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix default value for wxFontPickerCtrl's initial font parameter
authorRobin Dunn <robin@alldunn.com>
Sun, 5 Nov 2006 21:29:40 +0000 (21:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 5 Nov 2006 21:29:40 +0000 (21:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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,