mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[ATL] Default value of dwInitParam is zero instead of NULL (#5703)
Fix warnings when dwInitParam was omitted at CDialogImpl::Create and/or CDialogImpl::DoModal.
This commit is contained in:
parent
ff5ccb5948
commit
3fa90b539e
1 changed files with 2 additions and 2 deletions
|
@ -1478,7 +1478,7 @@ public:
|
||||||
using CWindowImplRoot<TBase>::m_hWnd;
|
using CWindowImplRoot<TBase>::m_hWnd;
|
||||||
// - Hacks for gcc
|
// - Hacks for gcc
|
||||||
|
|
||||||
HWND Create(HWND hWndParent, LPARAM dwInitParam = NULL)
|
HWND Create(HWND hWndParent, LPARAM dwInitParam = 0)
|
||||||
{
|
{
|
||||||
BOOL result;
|
BOOL result;
|
||||||
HWND hWnd;
|
HWND hWnd;
|
||||||
|
@ -1495,7 +1495,7 @@ public:
|
||||||
return hWnd;
|
return hWnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
INT_PTR DoModal(HWND hWndParent = ::GetActiveWindow(), LPARAM dwInitParam = NULL)
|
INT_PTR DoModal(HWND hWndParent = ::GetActiveWindow(), LPARAM dwInitParam = 0)
|
||||||
{
|
{
|
||||||
BOOL result;
|
BOOL result;
|
||||||
T* pImpl;
|
T* pImpl;
|
||||||
|
|
Loading…
Reference in a new issue