1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0029169: Configuration - fix compilation with undefined UNICODE on Windows

Eliminated usage of TEXT macros, usage of OSVERSIONINFO instead of OSVERSIONINFOW.
LoadIcon/LoadCursor are now used instead of LoadIconW/LoadCursorW
when passing macros to standard resources (which depend on UNICODE flag).
This commit is contained in:
kgv
2017-09-30 19:52:10 +03:00
committed by bugmaster
parent 03d960b8de
commit c85a994a37
4 changed files with 14 additions and 12 deletions

View File

@@ -262,7 +262,7 @@ const Handle(Standard_Transient)& ViewerTest::WClass()
{
theWClass = new WNT_WClass ("GW3D_Class", (Standard_Address )AdvViewerWindowProc,
CS_VREDRAW | CS_HREDRAW, 0, 0,
::LoadCursorW (NULL, IDC_ARROW));
::LoadCursor (NULL, IDC_ARROW));
}
#endif
return theWClass;