Import Tk 8.6.10
This commit is contained in:
@@ -92,7 +92,7 @@ TkpDisplayMenuButton(
|
||||
border = mbPtr->normalBorder;
|
||||
}
|
||||
|
||||
if (mbPtr->image != None) {
|
||||
if (mbPtr->image != NULL) {
|
||||
Tk_SizeOfImage(mbPtr->image, &width, &height);
|
||||
haveImage = 1;
|
||||
} else if (mbPtr->bitmap != None) {
|
||||
@@ -358,7 +358,7 @@ TkpComputeMenuButtonGeometry(
|
||||
txtHeight = 0;
|
||||
avgWidth = 0;
|
||||
|
||||
if (mbPtr->image != None) {
|
||||
if (mbPtr->image != NULL) {
|
||||
Tk_SizeOfImage(mbPtr->image, &width, &height);
|
||||
haveImage = 1;
|
||||
} else if (mbPtr->bitmap != None) {
|
||||
|
||||
Reference in New Issue
Block a user