xW: set version information
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "xC-proto.cpp"
|
||||
#include "xW-resources.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
@@ -1744,11 +1745,12 @@ wWinMain(HINSTANCE hInstance, [[maybe_unused]] HINSTANCE hPrevInstance,
|
||||
wc.hIcon = g.hicon;
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wc.hbrBackground = GetSysColorBrush(COLOR_3DFACE);
|
||||
wc.lpszClassName = L"xW";
|
||||
wc.lpszClassName = TEXT(PROJECT_NAME);
|
||||
if (!RegisterClassEx(&wc))
|
||||
return 1;
|
||||
|
||||
g.hwndMain = CreateWindowEx(WS_EX_CONTROLPARENT, L"xW", L"xW",
|
||||
g.hwndMain = CreateWindowEx(
|
||||
WS_EX_CONTROLPARENT, wc.lpszClassName, TEXT(PROJECT_NAME),
|
||||
WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, 600, 400, NULL, NULL, hInstance, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user