mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
regedit: Use monospace font for hex edit dialog.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
84068b6d97
commit
31e41a942e
2 changed files with 1 additions and 13 deletions
|
@ -151,6 +151,7 @@ static INT_PTR CALLBACK bin_modify_dlgproc(HWND hwndDlg, UINT uMsg, WPARAM wPara
|
|||
else
|
||||
SetDlgItemTextW(hwndDlg, IDC_VALUE_NAME, g_pszDefaultValueName);
|
||||
SendDlgItemMessageW(hwndDlg, IDC_VALUE_DATA, HEM_SETDATA, (WPARAM)params->cbData, (LPARAM)params->pData);
|
||||
SendDlgItemMessageW(hwndDlg, IDC_VALUE_DATA, WM_SETFONT, (WPARAM) GetStockObject(ANSI_FIXED_FONT), TRUE);
|
||||
return TRUE;
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wParam)) {
|
||||
|
|
|
@ -329,16 +329,6 @@ HexEdit_Char (HEXEDIT_INFO *infoPtr, WCHAR ch)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static inline LRESULT
|
||||
HexEdit_Create (HEXEDIT_INFO *infoPtr, LPCREATESTRUCTW lpcs)
|
||||
{
|
||||
HexEdit_SetFont(infoPtr, GetStockObject(SYSTEM_FONT), FALSE);
|
||||
HexEdit_UpdateScrollbars(infoPtr);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static inline LRESULT
|
||||
HexEdit_Destroy (HEXEDIT_INFO *infoPtr)
|
||||
{
|
||||
|
@ -630,9 +620,6 @@ HexEdit_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_CHAR:
|
||||
return HexEdit_Char (infoPtr, (WCHAR)wParam);
|
||||
|
||||
case WM_CREATE:
|
||||
return HexEdit_Create (infoPtr, (LPCREATESTRUCTW)lParam);
|
||||
|
||||
case WM_DESTROY:
|
||||
return HexEdit_Destroy (infoPtr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue