mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-16 10:54:53 +03:00
0024233: OpenGl_Window - compilation for Windows NT 4.0 target
This commit is contained in:
parent
b514beda8a
commit
229c0b6a3b
@ -221,7 +221,11 @@ OpenGl_Window::OpenGl_Window (const Handle(OpenGl_Display)& theDisplay,
|
|||||||
}
|
}
|
||||||
if (aClass.lpszClassName != NULL)
|
if (aClass.lpszClassName != NULL)
|
||||||
{
|
{
|
||||||
aWinTmp = CreateWindowExW(WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE | WS_EX_NOACTIVATE,
|
DWORD anExStyle = WS_EX_TOOLWINDOW | WS_EX_WINDOWEDGE;
|
||||||
|
#if (_WIN32_WINNT >= 0x0500)
|
||||||
|
anExStyle |= WS_EX_NOACTIVATE;
|
||||||
|
#endif
|
||||||
|
aWinTmp = CreateWindowExW(anExStyle,
|
||||||
aClass.lpszClassName, L"OpenGl_WindowTmp",
|
aClass.lpszClassName, L"OpenGl_WindowTmp",
|
||||||
WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_DISABLED,
|
WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_DISABLED,
|
||||||
2, 2, 4, 4,
|
2, 2, 4, 4,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user