mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
- Store the wizard page descriptors in a separate static array. Then loop over these descriptors to create each page. - Set the window small icon. - Add a property sheet callback to set the window large icon (and not a rescaled small icon!) from the `PSCB_INITIALIZED` notification. Also, handle the `PSCB_PRECREATE` notification, and subclass the property sheet window procedure, so as to be able to initially center the wizard window while keeping it hidden before showing it, independently of which wizard page is going to be initially shown. A small hack for handling the `DM_REPOSITION` message is added, because Wine's comctl32 propsheet.c doesn't send the message after creating, initializing and resizing the property sheet dialog...