Ticket #9519 (closed defect: fixed)
Child windows that created after gripper puts below it
|Reported by:||kosenko||Owned by:|
wxMSW trunk rev. 53892 2008-06-01
msvc 7.1, xp sp2
Steps to reproduce
1. Run dialogs sample
2. Select Menu/Dialogs/Standard Buttons Sizer Dialog
3. Select check boxes "Enable Affirmative Button" and "Enable Dismiss Button"
Expected result: Gripper below any other child window
Actual result: Gripper above just created Cancel button.
Spy++ tool says that it is above Cancel and OK buttons.
Created windows are placed by default at the bottom of the z-order of windows list.
Gripper does not change its position in this case.
1. Add assertion that gripper is at the bottom in gripper destruction process.
(But I am not sure that place for this assert is good)
2. Handle child window creation event and force to resize gripper to place it in valid position