some
This commit is contained in:
1 parent
005616054a
commit
14d81266ac
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import WinSDK
|
||||
func otherSetupWindowIcons(_ iconId: Int) {
|
||||
// Only visit windows owned by this UI thread, never another application's window.
|
||||
EnumThreadWindows(GetCurrentThreadId(), { wnd, iconId in
|
||||
let resource = UnsafePointer<WCHAR>(bitPattern: iconId)
|
||||
let resource = UnsafePointer<WCHAR>(bitPattern: Int(iconId))
|
||||
let module = GetModuleHandleW(nil)
|
||||
|
||||
// Small icon
|
||||
|
||||
Reference in new issue
Block a user