mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Added WM_GETFONT support.
This commit is contained in:
parent
8a64b83eb6
commit
805e58108e
1 changed files with 12 additions and 1 deletions
|
@ -2589,6 +2589,15 @@ TOOLBAR_EraseBackground (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
|
||||
|
||||
static LRESULT
|
||||
TOOLBAR_GetFont (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
TOOLBAR_INFO *infoPtr = TOOLBAR_GetInfoPtr (hwnd);
|
||||
|
||||
return infoPtr->hFont;
|
||||
}
|
||||
|
||||
|
||||
static LRESULT
|
||||
TOOLBAR_LButtonDblClk (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
|
@ -3230,7 +3239,9 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_ERASEBKGND:
|
||||
return TOOLBAR_EraseBackground (hwnd, wParam, lParam);
|
||||
|
||||
/* case WM_GETFONT: */
|
||||
case WM_GETFONT:
|
||||
return TOOLBAR_GetFont (hwnd, wParam, lParam);
|
||||
|
||||
/* case WM_KEYDOWN: */
|
||||
/* case WM_KILLFOCUS: */
|
||||
|
||||
|
|
Loading…
Reference in a new issue