mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[ui] fix language button background on XP
Needed to set ILC_MASK to avoid rendering a black background on XP.
This commit is contained in:
parent
1b65a6eac0
commit
67565203df
1 changed files with 1 additions and 1 deletions
|
@ -1702,7 +1702,7 @@ void InitDialog(HWND hDlg)
|
|||
|
||||
hLangToolbar = CreateWindowEx(0, TOOLBARCLASSNAME, NULL, WS_CHILD | TBSTYLE_TRANSPARENT | CCS_NOPARENTALIGN | CCS_NORESIZE | CCS_NODIVIDER, 0, 0, 0, 0, hMainDialog, NULL, hMainInstance, NULL);
|
||||
|
||||
hLangToolbarImageList = ImageList_Create(i16, i16, ILC_COLOR32, 1, 0);
|
||||
hLangToolbarImageList = ImageList_Create(i16, i16, ILC_MASK | ILC_COLOR32, 1, 0);
|
||||
|
||||
ImageList_AddIcon(hLangToolbarImageList, hIconLang);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue