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:
@@ -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 )
|
||||
|
@@ -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 )
|
||||
|
Reference in New Issue
Block a user