mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024588: Fix some ICC warning fixes
Some of ICC warning fixes reported in 0024574 are fixed Remove redundant ifdef
This commit is contained in:
@@ -157,13 +157,7 @@ void WNT_Window :: Destroy ()
|
||||
//**************************** SetCursor *********************************//
|
||||
//***//
|
||||
void WNT_Window :: SetCursor ( const Aspect_Handle aCursor ) const {
|
||||
|
||||
#ifndef _WIN64
|
||||
SetClassLong ( ( HWND )myHWindow, GCL_HCURSOR, ( LONG )aCursor );
|
||||
#else
|
||||
SetClassLong ( ( HWND )myHWindow, GCLP_HCURSOR, ( LONG )aCursor );
|
||||
#endif
|
||||
|
||||
SetClassLongPtr ((HWND)myHWindow, GCLP_HCURSOR, (LONG_PTR)aCursor);
|
||||
} // end WNT_Window :: SetCursor
|
||||
|
||||
//***//
|
||||
|
Reference in New Issue
Block a user