mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[COMCTL32] -Remove a debug print that is no longer needed.
svn path=/trunk/; revision=74075
This commit is contained in:
parent
f3a00c2f57
commit
cd690901ea
1 changed files with 1 additions and 3 deletions
|
@ -316,7 +316,7 @@ BOOL BUTTON_GetIdealSize(HTHEME theme, HWND hwnd, SIZE* psize)
|
|||
HFONT hFont = 0, hPrevFont = 0;
|
||||
SIZE TextSize, ImageSize, ButtonSize;
|
||||
BOOL ret = FALSE;
|
||||
LOGFONTW logfont;
|
||||
LOGFONTW logfont = {0};
|
||||
|
||||
pdata = _GetButtonData(hwnd);
|
||||
text = get_button_text( hwnd );
|
||||
|
@ -372,8 +372,6 @@ BOOL BUTTON_GetIdealSize(HTHEME theme, HWND hwnd, SIZE* psize)
|
|||
rcContents.right = ImageSize.cx + TextSize.cx;
|
||||
rcContents.bottom = max(ImageSize.cy, TextSize.cy);
|
||||
GetThemeBackgroundExtent(theme, hdc, BP_PUSHBUTTON, PBS_NORMAL, &rcContents, &rcButtonExtent);
|
||||
ERR("rcContents: %d, %d, %d, %d\n", rcContents.left, rcContents.top, rcContents.right, rcContents.bottom);
|
||||
ERR("rcButtonExtent: %d, %d, %d, %d\n", rcButtonExtent.left, rcButtonExtent.top, rcButtonExtent.right, rcButtonExtent.bottom);
|
||||
ButtonSize.cx = rcButtonExtent.right - rcButtonExtent.left;
|
||||
ButtonSize.cy = rcButtonExtent.bottom - rcButtonExtent.top;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue