Skip to content

Commit

Permalink
Update prpsh.c
Browse files Browse the repository at this point in the history
  • Loading branch information
dmex committed Dec 25, 2024
1 parent a11a482 commit e62698e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/peview/prpsh.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ INT CALLBACK PvpPropSheetProc(
context = PhAllocateZero(sizeof(PV_PROPSHEETCONTEXT));
PhInitializeLayoutManager(&context->LayoutManager, hwndDlg);

context->DefaultWindowProc = (WNDPROC)GetWindowLongPtr(hwndDlg, GWLP_WNDPROC);
context->DefaultWindowProc = PhGetWindowProcedure(hwndDlg);
PhSetWindowContext(hwndDlg, UCHAR_MAX, context);
SetWindowLongPtr(hwndDlg, GWLP_WNDPROC, (LONG_PTR)PvpPropSheetWndProc);
PhSetWindowProcedure(hwndDlg, PvpPropSheetWndProc);

if (MinimumSize.left == -1)
{
Expand Down

0 comments on commit e62698e

Please sign in to comment.