return wxWindow::GetClassDefaultAttributes(wxWINDOW_VARIANT_NORMAL);
}
- if (state == -1)
- state = GTK_STATE_NORMAL;
-
// get the style's colours
attr.colFg = wxColour(style->fg[state]);
if (useBase)
if ( style && style->font_desc )
{
wxNativeFontInfo info;
- info.description = pango_font_description_copy(style->font_desc);
+ info.description = style->font_desc;
attr.font = wxFont(info);
+ info.description = NULL;
}
else
{