mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
fixed another HWND cast
This commit is contained in:
@@ -300,8 +300,8 @@ bringToFront()
|
|||||||
int idActive = GetWindowThreadProcessId(hwndActiveWin, NULL);
|
int idActive = GetWindowThreadProcessId(hwndActiveWin, NULL);
|
||||||
if ( AttachThreadInput(GetCurrentThreadId(), idActive, TRUE) )
|
if ( AttachThreadInput(GetCurrentThreadId(), idActive, TRUE) )
|
||||||
{
|
{
|
||||||
SetForegroundWindow( wid );
|
SetForegroundWindow( (HWND)wid );
|
||||||
SetFocus( wid );
|
SetFocus( (HWND)wid );
|
||||||
AttachThreadInput(GetCurrentThreadId(), idActive, FALSE);
|
AttachThreadInput(GetCurrentThreadId(), idActive, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user