[CHARMAP] Rename OnCreate functions. #179

This commit is contained in:
Amine Khaldi 2017-12-23 13:46:14 +01:00
parent fc921423f3
commit 1963e2d130
2 changed files with 9 additions and 8 deletions

View file

@ -439,8 +439,9 @@ AdvancedDlgProc(HWND hDlg,
return FALSE;
}
#endif
static int
OnCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
PanelOnCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
{
HMENU hSysMenu;
WCHAR lpAboutText[256];
@ -488,7 +489,7 @@ PanelWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg) {
case WM_CREATE:
return OnCreate(hWnd, wParam, lParam);
return PanelOnCreate(hWnd, wParam, lParam);
case WM_CLOSE:
DestroyWindow(hWnd);

View file

@ -376,9 +376,9 @@ OnClick(PMAP infoPtr,
static
BOOL
OnCreate(PMAP infoPtr,
HWND hwnd,
HWND hParent)
MapOnCreate(PMAP infoPtr,
HWND hwnd,
HWND hParent)
{
RECT rc;
BOOL Ret = FALSE;
@ -558,9 +558,9 @@ MapWndProc(HWND hwnd,
{
case WM_CREATE:
{
if (!OnCreate(infoPtr,
hwnd,
((LPCREATESTRUCTW)lParam)->hwndParent))
if (!MapOnCreate(infoPtr,
hwnd,
((LPCREATESTRUCTW)lParam)->hwndParent))
{
return (LRESULT)-1;
}