X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45f9b662d60d32113d3bdc3ce7a4dcb46b7899c4..e2badebb8fad5ee453fada24f336c275df9f216b:/include/wx/generic/fontpickerg.h diff --git a/include/wx/generic/fontpickerg.h b/include/wx/generic/fontpickerg.h index a0ca64d3e5..a3c27f4321 100644 --- a/include/wx/generic/fontpickerg.h +++ b/include/wx/generic/fontpickerg.h @@ -13,8 +13,7 @@ #define _WX_FONTPICKER_H_ #include "wx/button.h" - -class WXDLLIMPEXP_CORE wxFontData; +#include "wx/cmndata.h" //----------------------------------------------------------------------------- // wxGenericFontButton: a button which brings up a wxColourDialog @@ -30,7 +29,7 @@ public: wxGenericFontButton() {} wxGenericFontButton(wxWindow *parent, wxWindowID id, - const wxFont &initial = *wxNORMAL_FONT, + const wxFont &initial = wxNullFont, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxFONTBTN_DEFAULT_STYLE,