+#if _USE_VISATTR
+ wxColour gfg = gva.colFg;
+ wxColour gbg = gva.colBg;
+ wxColour lfg = lva.colFg;
+ wxColour lbg = lva.colBg;
+#else
+ wxColour gfg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
+ wxColour gbg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW );
+ wxColour lfg = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT );
+ wxColour lbg = wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE );
+#endif
+ m_cornerLabelWin->SetDefaultForegroundColour(lfg);
+ m_cornerLabelWin->SetDefaultBackgroundColour(lbg);
+ m_rowLabelWin->SetDefaultForegroundColour(lfg);
+ m_rowLabelWin->SetDefaultBackgroundColour(lbg);
+ m_colLabelWin->SetDefaultForegroundColour(lfg);
+ m_colLabelWin->SetDefaultBackgroundColour(lbg);
+
+ m_gridWin->SetDefaultForegroundColour(gfg);
+ m_gridWin->SetDefaultBackgroundColour(gbg);
+