Revision: 7313
http://mahogany.svn.sourceforge.net/mahogany/?rev=7313&view=rev
Author: vadz
Date: 2007-08-04 07:47:33 -0700 (Sat, 04 Aug 2007)
Log Message:
-----------
cast Printf() char argument to int to work around Printf() bug in wx svn trunk
Modified Paths:
--------------
trunk/M/src/util/ColourNames.cpp
Modified: trunk/M/src/util/ColourNames.cpp
===================================================================
--- trunk/M/src/util/ColourNames.cpp 2007-08-04 14:44:57 UTC (rev 7312)
+++ trunk/M/src/util/ColourNames.cpp 2007-08-04 14:47:33 UTC (rev 7313)
@@ -57,6 +57,7 @@
return true;
}
+// TODO: use wxTo/FromString(wxColour) now that we have it
String GetColourName(const wxColour& colour)
{
wxString colName(wxTheColourDatabase->FindName(colour));
@@ -64,7 +65,9 @@
{
// no name for this colour
colName.Printf(wxGetTranslation(rgbSpecificationString),
- colour.Red(), colour.Green(), colour.Blue());
+ (int)colour.Red(),
+ (int)colour.Green(),
+ (int)colour.Blue());
}
else
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates