diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-07-07 18:38:48 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-07-07 18:38:48 +0200 |
| commit | 68df125e3b417c89251fa6123f8c3ef6af8a7607 (patch) | |
| tree | dfcb13b44ed8c7d9553997748ee055b523b8d3d1 | |
| parent | b952009c11c4eee270fc52cfa022cfb0a4800e8c (diff) | |
label: invalidate on text set
| -rw-r--r-- | alf/alflabel.cpp | 2 |
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) { |
