6 Jul
2023
6 Jul
'23
10:37 p.m.
Vladislav Timonin (@vt) commented about include/commctrl.h:
#define HIST_FAVORITES 2 #define HIST_ADDTOFAVORITES 3 #define HIST_VIEWTREE 4 +#define HIST_UP 13 Adding a new define here without adding an icon into `idb_hist_large.bmp` is wrong (which you shouldn't do since Windows only has those 5 icons there).
Instead you should use the offset in toolbar image list that `TB_ADDBITMAP` returns with `VIEW_PARENTFOLDER` to get the icon from `idb_view_large.bmp` set. See !2348 which did the same thing. There's also !2993 which aims to replace this toolbar. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3230#note_38258