diff options
Diffstat (limited to 'alf/alflabel.cpp')
| -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 56e53d2..422a8dc 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -81,6 +81,8 @@ ALF__LabelWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) return (LRESULT)priv->font; } else if (uMsg == WM_UPDATEUISTATE) { InvalidateRect(hwnd, NULL, TRUE); + } else if (uMsg == WM_ERASEBKGND) { + return 1; // do it in WM_PAINT } else if (uMsg == WM_PAINT) { PAINTSTRUCT ps; HDC hdc = BeginPaint(hwnd, &ps); |
