The default image layout is HORIZONTAL, not VERTICAL.
This commit is contained in:
parent
5e787ba521
commit
30fffdaef0
|
@ -208,7 +208,7 @@ static PTHEME_PROPERTY UXTHEME_SelectImage(HTHEME hTheme, HDC hdc, int iPartId,
|
||||||
static HRESULT UXTHEME_LoadImage(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, BOOL glyph,
|
static HRESULT UXTHEME_LoadImage(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, BOOL glyph,
|
||||||
HBITMAP *hBmp, RECT *bmpRect)
|
HBITMAP *hBmp, RECT *bmpRect)
|
||||||
{
|
{
|
||||||
int imagelayout = IL_VERTICAL;
|
int imagelayout = IL_HORIZONTAL;
|
||||||
int imagecount = 1;
|
int imagecount = 1;
|
||||||
BITMAP bmp;
|
BITMAP bmp;
|
||||||
WCHAR szPath[MAX_PATH];
|
WCHAR szPath[MAX_PATH];
|
||||||
|
|
Loading…
Reference in New Issue