X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..e2badebb8fad5ee453fada24f336c275df9f216b:/include/wx/generic/fontpickerg.h diff --git a/include/wx/generic/fontpickerg.h b/include/wx/generic/fontpickerg.h index 6127ff049b..a3c27f4321 100644 --- a/include/wx/generic/fontpickerg.h +++ b/include/wx/generic/fontpickerg.h @@ -12,7 +12,8 @@ #ifndef _WX_FONTPICKER_H_ #define _WX_FONTPICKER_H_ -class WXDLLIMPEXP_CORE wxFontData; +#include "wx/button.h" +#include "wx/cmndata.h" //----------------------------------------------------------------------------- // wxGenericFontButton: a button which brings up a wxColourDialog @@ -28,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,