mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Driveby cleanup: Remove use of legacy <tchar.h>
This commit is contained in:
1 parent
0b529c2316
commit
4007e973f3
10 files changed
+14
-24
No files matched your search
@@ -153,7 +153,7 @@ namespace MainWindow
|
||||
bool noFocusPause = false; // TOGGLE_PAUSE state to override pause on lost focus
|
||||
bool trapMouse = true; // Handles some special cases(alt+tab, win menu) when game is running and mouse is confined
|
||||
|
||||
static const TCHAR szWindowClass[] = L"PPSSPPWnd";
|
||||
static constexpr wchar_t *szWindowClass = L"PPSSPPWnd";
|
||||
|
||||
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
|
||||
|
||||
@@ -174,7 +174,7 @@ namespace MainWindow
|
||||
wcex.lpfnWndProc = (WNDPROC)WndProc;
|
||||
wcex.hInstance = hInstance;
|
||||
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wcex.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
wcex.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); // or NULL?
|
||||
wcex.lpszMenuName = (LPCWSTR)IDR_MENU1;
|
||||
wcex.lpszClassName = szWindowClass;
|
||||
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_PPSSPP);
|
||||
|
||||
Reference in new issue
Block a user