1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2024-11-24 07:30:22 +01:00

Updated method name in GUI

This commit is contained in:
Valentin Radu 2021-10-02 19:17:24 +03:00
parent 4d397d06bb
commit 04982aa11d
2 changed files with 3 additions and 3 deletions

View File

@ -749,7 +749,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
return TRUE;
}
static LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
GUI* _this;
if (uMsg == WM_CREATE)
{
@ -889,7 +889,7 @@ __declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLin
WNDCLASS wc = { 0 };
ZeroMemory(&wc, sizeof(WNDCLASSW));
wc.style = CS_DBLCLKS;
wc.lpfnWndProc = WindowProc;
wc.lpfnWndProc = GUI_WindowProc;
wc.hbrBackground = _this.hBackgroundBrush;
wc.hInstance = hModule;
wc.lpszClassName = L"ExplorerPatcherGUI";

View File

@ -56,7 +56,7 @@ static HRESULT GUI_AboutProc(
static BOOL GUI_Build(HDC hDC, HWND hWnd);
static LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static LRESULT CALLBACK GUI_WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
__declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLine, int nCmdShow);
#endif