[wx-dev] #9519: Child windows that created after gripper puts below
it
wxTrac
noreply at wxsite.net
Sun Jun 1 08:26:12 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9519>
#9519: Child windows that created after gripper puts below it
---------------------+------------------------------------------------------
Reporter: kosenko | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 2.9.0
Component: wxMSW | Version: 2.9-svn
Keywords: | Blockedby:
Patch: 1 | Blocking:
---------------------+------------------------------------------------------
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.
Reason:
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.
Proposed solution:
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
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9519>
More information about the wx-dev
mailing list