summaryrefslogtreecommitdiff
path: root/new/newcontrol_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/newcontrol_windows.c')
-rw-r--r--new/newcontrol_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/newcontrol_windows.c b/new/newcontrol_windows.c
index 1293f5a..ce7bad4 100644
--- a/new/newcontrol_windows.c
+++ b/new/newcontrol_windows.c
@@ -90,7 +90,7 @@ uiControl *uiWindowsNewControl(uiWindowsNewControlParams *p)
c = uiNew(uiSingleHWNDControl);
c->hwnd = CreateWindowExW(p->dwExStyle,
- p->lpClassName, L"",
+ p->lpClassName, p->lpWindowName,
p->dwStyle | WS_CHILD | WS_VISIBLE,
0, 0,
100, 100,