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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user