- unsigned long tmp;
- if (ScanParam(par, wxT("#%lX"), &tmp) != 1)
- return false;
- *clr = wxColour((unsigned char)((tmp & 0xFF0000) >> 16),
- (unsigned char)((tmp & 0x00FF00) >> 8),
- (unsigned char)(tmp & 0x0000FF));
- return true;
- }
- else
- {
- // Handle colours defined in HTML 4.0:
- #define HTML_COLOUR(name,r,g,b) \
+ #define HTML_COLOUR(name, r, g, b) \