Update button.c

Changed button class names.
add-license-1
Jan Bodnar 9 years ago
parent 49ba9aca3f
commit 574bd1dab1
  1. 4
      controls/button.c

@ -37,11 +37,11 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT msg,
case WM_CREATE:
CreateWindowW(L"button", L"Beep",
CreateWindowW(L"Button", L"Beep",
WS_VISIBLE | WS_CHILD ,
20, 50, 80, 25, hwnd, (HMENU) ID_BEEP, NULL, NULL);
CreateWindowW(L"button", L"Quit",
CreateWindowW(L"Button", L"Quit",
WS_VISIBLE | WS_CHILD ,
120, 50, 80, 25, hwnd, (HMENU) ID_QUIT, NULL, NULL);
break;

Loading…
Cancel
Save