Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31530/include
Modified Files:
ColourNames.h
Log Message:
give more detailed message when a colour name can't be parsed (related to bug 745)
Index: ColourNames.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/ColourNames.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -b -u -2 -r1.1 -r1.2
--- ColourNames.h 14 Mar 2004 22:44:29 -0000 1.1
+++ ColourNames.h 19 Sep 2004 10:43:36 -0000 1.2
@@ -24,6 +24,6 @@
extern String GetColourName(const wxColour& color);
-/// get the colour by name and fallback to default (warning the user) if failed
-extern void GetColourByName(wxColour *colour,
+/// get the colour by name and fallback to default (then false is returned)
+extern bool GetColourByName(wxColour *colour,
const String& name,
const String& defaultName);
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates