[RESENT] Subject: Release GWL_ID with DestroyMenue, eventually

Alexandre Julliard julliard at winehq.org
Tue Jul 8 22:24:21 CDT 2003


Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> writes:

>         wine/controls/menu.c: DestroyMenu
>         Release GWL_ID of lppop->hWnd if it is the same
>         hMenu we are going to destroy
>
> This lets Capital Eimkommenssteuer 2003 (Infotax Steuer02) access it's Menu
> bar.

This is wrong, Windows doesn't do this, and it causes trouble. We
tried it once already and we had to back it out. The correct fix is to
change the menu handles management to behave more like window handles.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list