projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
32faa24
)
[MDI] Fix GCC build
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 20 Jan 2019 10:09:54 +0000
(11:09 +0100)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 20 Jan 2019 10:09:54 +0000
(11:09 +0100)
modules/rosapps/templates/mdi/main.c
patch
|
blob
|
history
diff --git
a/modules/rosapps/templates/mdi/main.c
b/modules/rosapps/templates/mdi/main.c
index
977a082
..
6fa1d14
100644
(file)
--- a/
modules/rosapps/templates/mdi/main.c
+++ b/
modules/rosapps/templates/mdi/main.c
@@
-127,7
+127,7
@@
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
hFont = CreateFont(-MulDiv(8,GetDeviceCaps(hdc,LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _T("MS Sans Serif"));
ReleaseDC(0, hdc);
hFont = CreateFont(-MulDiv(8,GetDeviceCaps(hdc,LOGPIXELSY),72), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, _T("MS Sans Serif"));
ReleaseDC(0, hdc);
- hFrameWnd = CreateWindowEx(0, (LPCTSTR)hFrameWndClass, szTitle,
+ hFrameWnd = CreateWindowEx(0, (LPCTSTR)
(ULONG_PTR)
hFrameWndClass, szTitle,
// hFrameWnd = CreateWindow(szFrameClass, szTitle,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
// hFrameWnd = CreateWindow(szFrameClass, szTitle,
WS_OVERLAPPEDWINDOW | WS_CLIPCHILDREN,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,