More windows/newcontrol.c migration.
This commit is contained in:
parent
dcc1a503c4
commit
b199f1dee4
|
@ -163,7 +163,6 @@ static LRESULT CALLBACK singleSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
(*(s->onWM_DESTROY))(c);
|
(*(s->onWM_DESTROY))(c);
|
||||||
uiFree(s);
|
uiFree(s);
|
||||||
uiFree(c);
|
|
||||||
break;
|
break;
|
||||||
case WM_NCDESTROY:
|
case WM_NCDESTROY:
|
||||||
if ((*fv_RemoveWindowSubclass)(hwnd, singleSubclassProc, uIdSubclass) == FALSE)
|
if ((*fv_RemoveWindowSubclass)(hwnd, singleSubclassProc, uIdSubclass) == FALSE)
|
||||||
|
|
Loading…
Reference in New Issue