X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c757b5fee093bbc3686f1e474316396b742fb888..05a09b0b9f9d93cd2a149efc0c1ccc0790cdc82c:/include/wx/gtk/fontpicker.h diff --git a/include/wx/gtk/fontpicker.h b/include/wx/gtk/fontpicker.h index 06ba2ed99f..cef2cd1665 100644 --- a/include/wx/gtk/fontpicker.h +++ b/include/wx/gtk/fontpicker.h @@ -27,7 +27,7 @@ public: wxFontButton() {} wxFontButton(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, @@ -44,7 +44,7 @@ public: // overrides bool Create(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, @@ -60,8 +60,6 @@ public: // used by the GTK callback only void SetNativeFontInfo(const gchar *gtkdescription) { m_selectedFont.SetNativeFontInfo(wxString::FromAscii(gtkdescription)); } - wxWindow *m_topParent; - private: DECLARE_DYNAMIC_CLASS(wxFontButton) };