mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +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;
|
return FALSE;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
OnCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
PanelOnCreate(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
HMENU hSysMenu;
|
HMENU hSysMenu;
|
||||||
WCHAR lpAboutText[256];
|
WCHAR lpAboutText[256];
|
||||||
|
@ -488,7 +489,7 @@ PanelWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
switch (msg) {
|
switch (msg) {
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
return OnCreate(hWnd, wParam, lParam);
|
return PanelOnCreate(hWnd, wParam, lParam);
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
DestroyWindow(hWnd);
|
DestroyWindow(hWnd);
|
||||||
|
|
|
@ -376,9 +376,9 @@ OnClick(PMAP infoPtr,
|
||||||
|
|
||||||
static
|
static
|
||||||
BOOL
|
BOOL
|
||||||
OnCreate(PMAP infoPtr,
|
MapOnCreate(PMAP infoPtr,
|
||||||
HWND hwnd,
|
HWND hwnd,
|
||||||
HWND hParent)
|
HWND hParent)
|
||||||
{
|
{
|
||||||
RECT rc;
|
RECT rc;
|
||||||
BOOL Ret = FALSE;
|
BOOL Ret = FALSE;
|
||||||
|
@ -558,9 +558,9 @@ MapWndProc(HWND hwnd,
|
||||||
{
|
{
|
||||||
case WM_CREATE:
|
case WM_CREATE:
|
||||||
{
|
{
|
||||||
if (!OnCreate(infoPtr,
|
if (!MapOnCreate(infoPtr,
|
||||||
hwnd,
|
hwnd,
|
||||||
((LPCREATESTRUCTW)lParam)->hwndParent))
|
((LPCREATESTRUCTW)lParam)->hwndParent))
|
||||||
{
|
{
|
||||||
return (LRESULT)-1;
|
return (LRESULT)-1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue