diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-12-31 16:02:55 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-12-31 16:02:55 (GMT) |
commit | 3d686118bbced68f9a9af69339e2998b28139756 (patch) | |
tree | a067a65ed67d0afd06f1ad02c86e8d11924f01d6 /tests/OffscreenContextWGL.cc | |
parent | 7a044adfb8f7d9a1e64b72fb9a4a873b0449e4f6 (diff) |
enable linux->mingw32 cross-compilation of tests
Diffstat (limited to 'tests/OffscreenContextWGL.cc')
-rw-r--r-- | tests/OffscreenContextWGL.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/OffscreenContextWGL.cc b/tests/OffscreenContextWGL.cc index f36671c..75a7ed2 100644 --- a/tests/OffscreenContextWGL.cc +++ b/tests/OffscreenContextWGL.cc @@ -105,10 +105,10 @@ bool create_wgl_dummy_context(OffscreenContext &ctx) wc.style = CS_OWNDC; wc.lpfnWndProc = WndProc; wc.hInstance = inst; - wc.lpszClassName = "OpenSCAD"; + wc.lpszClassName = (LPCWSTR)"OpenSCAD"; RegisterClass( &wc ); - HWND window = CreateWindow( "OpenSCAD", "OpenSCAD", + HWND window = CreateWindow( (LPCWSTR)"OpenSCAD", (LPCWSTR)"OpenSCAD", WS_CAPTION | WS_POPUPWINDOW, //| WS_VISIBLE, 0, 0, ctx.width, ctx.height, NULL, NULL, inst, NULL ); |