mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
[CHARMAP] Rename OnCreate functions. #179
This commit is contained in:
parent
fc921423f3
commit
1963e2d130
2 changed files with 9 additions and 8 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue