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
- Run dialogs sample
- Select Menu/Dialogs/Standard Buttons Sizer Dialog
- 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.
- Add assertion that gripper is at the bottom in gripper destruction process.
(But I am not sure that place for this assert is good)
- Handle child window creation event and force to resize gripper to place it in valid position