Import Tk 8.6.10
This commit is contained in:
@@ -127,7 +127,7 @@ Tk_3DVerticalBevel(
|
||||
HDC dc = TkWinGetDrawableDC(display, drawable, &state);
|
||||
int half;
|
||||
|
||||
if ((borderPtr->lightGC == None) && (relief != TK_RELIEF_FLAT)) {
|
||||
if ((borderPtr->lightGC == NULL) && (relief != TK_RELIEF_FLAT)) {
|
||||
TkpGetShadows(borderPtr, tkwin);
|
||||
}
|
||||
|
||||
@@ -222,7 +222,7 @@ Tk_3DHorizontalBevel(
|
||||
HDC dc = TkWinGetDrawableDC(display, drawable, &state);
|
||||
int topColor, bottomColor;
|
||||
|
||||
if ((borderPtr->lightGC == None) && (relief != TK_RELIEF_FLAT)) {
|
||||
if ((borderPtr->lightGC == NULL) && (relief != TK_RELIEF_FLAT)) {
|
||||
TkpGetShadows(borderPtr, tkwin);
|
||||
}
|
||||
|
||||
@@ -339,7 +339,7 @@ TkpGetShadows(
|
||||
int r, g, b;
|
||||
XGCValues gcValues;
|
||||
|
||||
if (borderPtr->lightGC != None) {
|
||||
if (borderPtr->lightGC != NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -540,7 +540,7 @@ TkWinGetBorderPixels(
|
||||
{
|
||||
WinBorder *borderPtr = (WinBorder *) border;
|
||||
|
||||
if (borderPtr->info.lightGC == None) {
|
||||
if (borderPtr->info.lightGC == NULL) {
|
||||
TkpGetShadows(&borderPtr->info, tkwin);
|
||||
}
|
||||
switch (which) {
|
||||
|
||||
Reference in New Issue
Block a user