Browse Source

Updated method name in GUI

pull/51/head
Valentin Radu 4 years ago
parent
commit
04982aa11d
  1. 4
      ExplorerPatcher/GUI.c
  2. 2
      ExplorerPatcher/GUI.h

4
ExplorerPatcher/GUI.c

@ -749,7 +749,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt) @@ -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 @@ -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";

2
ExplorerPatcher/GUI.h

@ -56,7 +56,7 @@ static HRESULT GUI_AboutProc( @@ -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

Loading…
Cancel
Save