diff options
author | Marius Kintel <marius@kintel.net> | 2012-01-04 17:01:21 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-01-04 17:01:21 (GMT) |
commit | 5b503543a4befe057a38a0250261b53066200ffb (patch) | |
tree | 9299349df9c5b5a85a2c1e500f44dfcc866a799a /tests/OffscreenContextWGL.cc | |
parent | cc147f9612e176f111737c5936e4acc46bb0be81 (diff) | |
parent | f5b1e37f2d4a080826a55d2b783f17c1389f6805 (diff) |
Merge pull request #56 from openscad/mingw_cross_tests
Mingw cross 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 ); |