[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : alex
Repository : xara
Revision   : 870
Date       : Mon Apr 24 15:10:08 BST 2006

Changed paths:
   M /Trunk/XaraLX/wxOil/cartprov.cpp

Fix for when GTK theme does not have black text on buttons


Diff:
Index: Trunk/XaraLX/wxOil/cartprov.cpp
===================================================================
--- Trunk/XaraLX/wxOil/cartprov.cpp	(revision 869)
+++ Trunk/XaraLX/wxOil/cartprov.cpp	(revision 870)
@@ -967,7 +967,7 @@
 		}
 	}
 
-	dc.SetTextForeground((f & CAF_GREYED)?wxSystemSettings::GetColour(wxSYS_COLOUR_GRAYTEXT):*wxBLACK);
+	dc.SetTextForeground(wxSystemSettings::GetColour((f & CAF_GREYED)?wxSYS_COLOUR_GRAYTEXT:wxSYS_COLOUR_BTNTEXT));
 	wxFont font = wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT);
 	font.SetPointSize(7);
 	dc.SetFont(font);


Xara