summaryrefslogtreecommitdiff
path: root/alf/alflabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alflabel.cpp')
-rw-r--r--alf/alflabel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp
index 208b033..56e53d2 100644
--- a/alf/alflabel.cpp
+++ b/alf/alflabel.cpp
@@ -67,6 +67,8 @@ ALF__LabelWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
priv->style = (DWORD)lParam;
InvalidateRect(hwnd, NULL, TRUE);
return TRUE;
+ } else if (uMsg == WM_SETTEXT) {
+ InvalidateRect(hwnd, NULL, TRUE);
} else if (uMsg == WM_GETDLGCODE) {
return DLGC_STATIC;
} else if (uMsg == WM_SETFONT) {