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

[XaraXtreme-commits] Commit Complete



Commit by  : gavin
Repository : xara
Revision   : 1351
Date       : Thu Jun 22 15:37:43 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/nodebev.cpp


    nodebev.cpp


Diff:
Index: Trunk/XaraLX/Kernel/nodebev.cpp
===================================================================
--- Trunk/XaraLX/Kernel/nodebev.cpp	(revision 1350)
+++ Trunk/XaraLX/Kernel/nodebev.cpp	(revision 1351)
@@ -1945,16 +1945,9 @@
 		else
 		{
 			// Translated colour table values used ONLY for Non Transparent Flat filled Bevels
-	PORTNOTE("other","NodeBevel::SetUpBitmapPalette - palette bodge")
-#if defined(__WXGTK__)
-			pPalette[i].rgbRed   = pGD->TranslateBevelValue(i,Blue ) ;
-			pPalette[i].rgbGreen = pGD->TranslateBevelValue(i,Green) ;
-			pPalette[i].rgbBlue  = pGD->TranslateBevelValue(i,Red  ) ;
-#else
 			pPalette[i].rgbRed   = pGD->TranslateBevelValue(i,Red  ) ;
 			pPalette[i].rgbGreen = pGD->TranslateBevelValue(i,Green) ;
 			pPalette[i].rgbBlue  = pGD->TranslateBevelValue(i,Blue ) ;
-#endif
 		}
 		pPalette[i].rgbReserved = 0 ;
 	}


Xara