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,
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,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxFontPickerWidgetNameStr);
+protected:
void UpdateFont();
void SetNativeFontInfo(const gchar *gtkdescription)
{ m_selectedFont.SetNativeFontInfo(wxString::FromAscii(gtkdescription)); }
- wxWindow *m_topParent;
-
private:
DECLARE_DYNAMIC_CLASS(wxFontButton)
};