summaryrefslogtreecommitdiff
path: root/alf/alfedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfedit.cpp')
-rw-r--r--alf/alfedit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/alf/alfedit.cpp b/alf/alfedit.cpp
index c352a8b..ac12e38 100644
--- a/alf/alfedit.cpp
+++ b/alf/alfedit.cpp
@@ -44,6 +44,8 @@ ALF__EditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_P
SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOCOPYBITS);
} else if (uMsg == WM_DESTROY) {
ALF_Compat_RemoveWindowSubclass(hwnd, ALF__EditSubclassProc, 0);
+ } else if (uMsg == WM_SETFONT) {
+ ALF_InvalidateLayout(GetParent(hwnd));
}
return ALF_Compat_DefSubclassProc(hwnd, uMsg, wParam, lParam);