From: bugmaster <> Date: Thu, 28 Apr 2011 16:39:40 +0000 (+0000) Subject: Merge OCC22150 and replacing french comments by english one X-Git-Tag: V6_5_1~38 X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff_plain;h=f54e0336745c48890de1c98a27115d5f03c6c7b5;hp=31160f806e652a765c6103fbd32b5de9631e2c53 Merge OCC22150 and replacing french comments by english one --- diff --git a/src/Visual3d/Visual3d_View.cxx b/src/Visual3d/Visual3d_View.cxx index d00d0a9fa7..ec6d48e733 100755 --- a/src/Visual3d/Visual3d_View.cxx +++ b/src/Visual3d/Visual3d_View.cxx @@ -479,11 +479,7 @@ const Handle(WNT_Window) theWindow = *(Handle(WNT_Window) *) &AWindow; #ifdef RIC120302 MyCView.DefWindow.XParentWindow = ( HWND )(theWindow->HParentWindow()); #endif -#ifndef _WIN64 - wd = ( WNT_WindowData* )GetWindowLong (( HWND )(theWindow->HWindow()), GWL_USERDATA); -#else - wd = ( WNT_WindowData* )GetWindowLong (( HWND )(theWindow->HWindow()), GWLP_USERDATA); -#endif + wd = ( WNT_WindowData* )GetWindowLongPtr (( HWND )(theWindow->HWindow()), GWLP_USERDATA); wd -> WNT_WDriver_Ptr = ( void* )this; wd -> WNT_VMgr = ( void* )MyPtrViewManager; #endif /* WNT */