diff --git a/classic-theme-explorer.wh.cpp b/classic-theme-explorer.wh.cpp index b15c9cc..54730d7 100644 --- a/classic-theme-explorer.wh.cpp +++ b/classic-theme-explorer.wh.cpp @@ -333,16 +333,16 @@ UINT g_subclassRegisteredMsg = RegisterWindowMessage(L"Windhawk_SetWindowSubclas LRESULT CALLBACK ClassicThemeExplorerSubClass(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData) { if (uMsg == WM_DESTROY) { - Wh_Log("[Destroy] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); + //Wh_Log(L"[Destroy] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0); } else if (uMsg == g_subclassRegisteredMsg && !wParam) { - Wh_Log("[Unsub] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); + //Wh_Log(L"[Unsub] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); RemoveWindowSubclass(hWnd, ClassicThemeExplorerSubClass, 0); } else if (uMsg == WM_PARENTNOTIFY || uMsg == WM_SIZE || uMsg == WM_GETICON) { - Wh_Log("[Target] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); + //Wh_Log(L"[Target] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); ClassicThemeExplorer(hWnd, wParam); - } else { - Wh_Log("[Unknown] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); + //} else { + //Wh_Log(L"[Unknown] uMsg: 0x%04x, wParam: 0x%x", uMsg, wParam); } return DefSubclassProc(hWnd, uMsg, wParam, lParam);