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