mirror of
https://github.com/reactos/reactos.git
synced 2024-08-18 09:28:36 +00:00
fix msvc build
svn path=/trunk/; revision=41732
This commit is contained in:
parent
f11dc64ecc
commit
9f3c9390f1
|
@ -132,6 +132,7 @@ int WINAPI _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR l
|
||||||
TCHAR ofnFilename[1000];
|
TCHAR ofnFilename[1000];
|
||||||
TCHAR ofnFiletitle[256];
|
TCHAR ofnFiletitle[256];
|
||||||
TCHAR ofnFilter[1000];
|
TCHAR ofnFilter[1000];
|
||||||
|
TCHAR miniaturetitle[100];
|
||||||
int custColors[16] =
|
int custColors[16] =
|
||||||
{0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
|
{0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
|
||||||
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff};
|
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff};
|
||||||
|
@ -219,10 +220,8 @@ int WINAPI _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR l
|
||||||
LoadString(hThisInstance, IDS_DEFAULTFILENAME, filename, SIZEOF(filename));
|
LoadString(hThisInstance, IDS_DEFAULTFILENAME, filename, SIZEOF(filename));
|
||||||
LoadString(hThisInstance, IDS_WINDOWTITLE, resstr, SIZEOF(resstr));
|
LoadString(hThisInstance, IDS_WINDOWTITLE, resstr, SIZEOF(resstr));
|
||||||
_stprintf(progtitle, resstr, filename);
|
_stprintf(progtitle, resstr, filename);
|
||||||
TCHAR miniaturetitle[100];
|
|
||||||
LoadString(hThisInstance, IDS_MINIATURETITLE, miniaturetitle, SIZEOF(miniaturetitle));
|
LoadString(hThisInstance, IDS_MINIATURETITLE, miniaturetitle, SIZEOF(miniaturetitle));
|
||||||
|
|
||||||
|
|
||||||
/* create main window */
|
/* create main window */
|
||||||
hwnd = CreateWindowEx (0, _T("WindowsApp"), progtitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 544, 375, HWND_DESKTOP, NULL, hThisInstance, NULL);
|
hwnd = CreateWindowEx (0, _T("WindowsApp"), progtitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 544, 375, HWND_DESKTOP, NULL, hThisInstance, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue