Fix TB_GETBUTTONSIZE to return the correct width/height for no
buttons.
This commit is contained in:
parent
21f9465067
commit
a3b4e20503
|
@ -3445,7 +3445,7 @@ TOOLBAR_GetButtonSize (HWND hwnd)
|
|||
return MAKELONG((WORD)infoPtr->nButtonWidth,
|
||||
(WORD)infoPtr->nButtonHeight);
|
||||
else
|
||||
return MAKELONG(8,7);
|
||||
return MAKELONG(23,22);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue