Use GCLP_HICON instead of GCL_HICON for 64-bit Windows compatibility
This commit is contained in:
parent
47485a343e
commit
bff40ba97a
@ -685,7 +685,7 @@ void Define_icon(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
// Set it
|
// Set it
|
||||||
SetClassLongPtr(GFX2_Get_Window_Handle(), GCL_HICONSM, (LONG_PTR)hicon);
|
SetClassLongPtr(GFX2_Get_Window_Handle(), GCLP_HICONSM, (LONG_PTR)hicon);
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -721,7 +721,7 @@ void Define_icon(void)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
// Set it
|
// Set it
|
||||||
SetClassLongPtr(GFX2_Get_Window_Handle(), GCL_HICON, (LONG_PTR)hicon);
|
SetClassLongPtr(GFX2_Get_Window_Handle(), GCLP_HICON, (LONG_PTR)hicon);
|
||||||
|
|
||||||
|
|
||||||
// Success
|
// Success
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user