Skip to content

Commit

Permalink
Update gui.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielOrourke02 authored Oct 13, 2023
1 parent b1e36ad commit 88f5877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main(int, char**)
//ImGui_ImplWin32_EnableDpiAwareness();
WNDCLASSEXW wc = { sizeof(wc), CS_CLASSDC, WndProc, 0L, 0L, GetModuleHandle(nullptr), nullptr, nullptr, nullptr, nullptr, L"My Simple GUI", nullptr };
::RegisterClassExW(&wc);
HWND hwnd = ::CreateWindowW(wc.lpszClassName, L"Simple GUI", WS_OVERLAPPEDWINDOW, 100, 100, 680, 550, nullptr, nullptr, wc.hInstance, nullptr);
HWND hwnd = ::CreateWindowW(wc.lpszClassName, L"Password Generator", WS_OVERLAPPEDWINDOW, 100, 100, 680, 550, nullptr, nullptr, wc.hInstance, nullptr);

// Initialize Direct3D
if (!CreateDeviceD3D(hwnd))
Expand Down Expand Up @@ -210,4 +210,4 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
return 0;
}
return ::DefWindowProcW(hWnd, msg, wParam, lParam);
}
}

0 comments on commit 88f5877

Please sign in to comment.