Skip to content

Commit aa48b98

Browse files
author
Sébastien Geiser
committed
Icon fluent for v < 8
1 parent e38d83f commit aa48b98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CSharpRegexTools4Npp/Main.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ internal static void SetToolBarIcon()
9797
{
9898
toolbarIcons tbIcons = new toolbarIcons
9999
{
100-
hToolbarBmp = tbBmp.GetHbitmap()
100+
hToolbarBmp = tbBmp.GetHbitmap(),
101+
hToolbarIcon = tbBmp.GetHicon(),
101102
};
102103

103104
IntPtr pTbIcons = Marshal.AllocHGlobal(Marshal.SizeOf(tbIcons));

0 commit comments

Comments
 (0)