comctl32: Unset active page while setting a new active page for a propsheet.
commit2a8463b558ab5406e696f96d04fc279cfc7f2833
authorAric Stewart <aric@codeweavers.com>
Fri, 30 Mar 2007 16:35:12 +0000 (30 11:35 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 2 Apr 2007 10:09:19 +0000 (2 12:09 +0200)
tree9a6a2f18531e8a80998faf5a3eab845c25b83e1f
parent06b414086aceb1740b7ce8ddac6fe975b451c1bf
comctl32: Unset active page while setting a new active page for a propsheet.

Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
dlls/comctl32/propsheet.c