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 283b99a..59e2ca3 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -68,6 +68,8 @@ ALF__LabelSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_ p->left, p->top + topPadding, p->right - p->left, p->bottom - p->top - topPadding, SWP_NOZORDER|SWP_NOACTIVATE); + } else if (uMsg == WM_DESTROY) { + app->compatFn->RemoveWindowSubclass(hwnd, ALF__LabelSubclassProc, 0); } return app->compatFn->DefSubclassProc(hwnd, uMsg, wParam, lParam); |
