// Author: Robert Roebling
// Id: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
int fg_intensity = fg.Red() + fg.Green() + fg.Blue();
int bg_intensity = bg.Red() + bg.Green() + bg.Blue();
-
- if (bg_intensity > fg_intensity)
- {
+
+ if (bg_intensity > fg_intensity)
+ {
//swap fg and bg
wxColour tmp = fg;
fg = bg;
bg = tmp;
- }
+ }
int hotSpotX;
int hotSpotY;