372
372
static bool intitialized(false);
373
373
static wxColour textColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT));
376
376
// try to get the background colour from a menu
377
377
GtkWidget *textCtrl = gtk_text_view_new();
378
378
GtkStyle *def = gtk_rc_get_style( textCtrl );
380
380
def = gtk_widget_get_default_style();
383
383
GdkColor col = def->text[GTK_STATE_NORMAL];
384
384
textColour = wxColour(col);