Ticket #2268 (closed defect)
first wxRadiobutton enabled during focus
| Reported by: | ghazel | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | |
| Keywords: | Cc: | ghazel, botg, vadz, juliansmart | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
This is a re-visit on the issue that caused this bug report:
https://sourceforge.net/tracker/?
func=detail&atid=109863&aid=1090443&group_id=9863
and this patch:
http://sourceforge.net/tracker/?
func=detail&aid=1038330&group_id=9863&atid=309863
As of CVS HEAD just after 2.5.4 either patch was not
applied properly, or was not a thorough fix.
Attached is code that demonstrates the problem:
Both radiobuttons are set to False on initialization, then
the second is set to True. The app should start with two
windows - a frame with the focus, and the dialog with the
radiobuttons where the second is selected. If that dialog
is focused, however, the first radiobutton is selected
erroniously.
One strange aspect is that if the radiobuttons are placed
directly on the dialog with a sizer, this problem does not
occur (so the old demo code from the previous reports is
not useful in showing the problem).
just incase:
CVS HEAD 02/23/05
wxMSW
MSVC++ 7.1

