X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec376c8fd9ff813392030426acd2317c6fa6527e..a56a1234a58e8e4b6f25baee902cecabab7b73be:/include/wx/generic/fontpickerg.h?ds=sidebyside 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,