projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge OCC22150 and replacing french comments by english one
[occt.git]
/
src
/
Visual3d
/
Visual3d_View.cxx
diff --git
a/src/Visual3d/Visual3d_View.cxx
b/src/Visual3d/Visual3d_View.cxx
index
d00d0a9
..
ec6d48e
100755
(executable)
--- 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
#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 */
wd -> WNT_WDriver_Ptr = ( void* )this;
wd -> WNT_VMgr = ( void* )MyPtrViewManager;
#endif /* WNT */