corrected wxMacSetColorTableEntry (although it is not needed currently)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-04-26 17:40:23 +00:00
parent 9f4de6b2cf
commit c5750ccb5f
2 changed files with 6 additions and 6 deletions

View File

@@ -59,9 +59,9 @@ void wxMacDestroyColorTable( CTabHandle colors )
void wxMacSetColorTableEntry( CTabHandle newColors , int index , int red , int green , int blue )
{
(**newColors).ctTable[index].value = index;
(**newColors).ctTable[index].rgb.red = 0 ;// someRedValue;
(**newColors).ctTable[index].rgb.green = 0 ; // someGreenValue;
(**newColors).ctTable[index].rgb.blue = 0 ; // someBlueValue;
(**newColors).ctTable[index].rgb.red = red ;// someRedValue;
(**newColors).ctTable[index].rgb.green = green ; // someGreenValue;
(**newColors).ctTable[index].rgb.blue = blue ; // someBlueValue;
}
GWorldPtr wxMacCreateGWorld( int width , int height , int depth )

View File

@@ -59,9 +59,9 @@ void wxMacDestroyColorTable( CTabHandle colors )
void wxMacSetColorTableEntry( CTabHandle newColors , int index , int red , int green , int blue )
{
(**newColors).ctTable[index].value = index;
(**newColors).ctTable[index].rgb.red = 0 ;// someRedValue;
(**newColors).ctTable[index].rgb.green = 0 ; // someGreenValue;
(**newColors).ctTable[index].rgb.blue = 0 ; // someBlueValue;
(**newColors).ctTable[index].rgb.red = red ;// someRedValue;
(**newColors).ctTable[index].rgb.green = green ; // someGreenValue;
(**newColors).ctTable[index].rgb.blue = blue ; // someBlueValue;
}
GWorldPtr wxMacCreateGWorld( int width , int height , int depth )