Xming: Use GetClassLongPtr() instead of superseded GetClassLong()
GetClassLong() is superseded by GetClassLongPtr(), so change to using that
This commit is contained in:
parent
a85523dc50
commit
764ce6ee68
|
@ -398,9 +398,9 @@ winMWExtWMDestroyFrame (RootlessFrameID wid)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Store the info we need to destroy after this window is gone */
|
/* Store the info we need to destroy after this window is gone */
|
||||||
hInstance = (HINSTANCE) GetClassLong (pRLWinPriv->hWnd, GCL_HMODULE);
|
hInstance = (HINSTANCE) GetClassLongPtr (pRLWinPriv->hWnd, GCLP_HMODULE);
|
||||||
hiconClass = (HICON) GetClassLong (pRLWinPriv->hWnd, GCL_HICON);
|
hiconClass = (HICON) GetClassLongPtr (pRLWinPriv->hWnd, GCLP_HICON);
|
||||||
hiconSmClass = (HICON) GetClassLong (pRLWinPriv->hWnd, GCL_HICONSM);
|
hiconSmClass = (HICON) GetClassLongPtr (pRLWinPriv->hWnd, GCLP_HICONSM);
|
||||||
iReturn = GetClassName (pRLWinPriv->hWnd, pszClass, CLASS_NAME_LENGTH);
|
iReturn = GetClassName (pRLWinPriv->hWnd, pszClass, CLASS_NAME_LENGTH);
|
||||||
|
|
||||||
pRLWinPriv->fClose = TRUE;
|
pRLWinPriv->fClose = TRUE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user