Menu

#166 Controls within a wxStaticBoxSizer no longer hook up correctly in 3.5.1-RC1

v1.0_(example)
closed-fixed
nobody
None
1
2015-10-02
2015-10-01
No

Controls within a wxStaticBoxSizer don't appear to work correctly with wxWindowBase::TransferDataFromWindow() in 3.5.1-RC1.

My project works fine with wxFormBuilder v3.5.0-beta, but any wxStaticText and wxSlider controls I have within a wxStaticBoxSizer no longer work correctly with wxFormBuilder v3.5.1-rc1.

When I diff the files from beta to rc1, I see that for those controls within the wxStaticBoxSizer, the parent parameter within the constructor is now the StaticBox itself, rather than "this" (the dialog) as it was before.

I've attached an image showing the diff between the two files.

1 Attachments

Discussion

  • Michal Bližňák

    In accordance to the wxWidgets 3.0 docs all widgets managed by static box sizer should be parented to the static box rather than to its parent. wxFB 3.5.2 (RC2) allows users to choose which parent will be used.

     
  • Michal Bližňák

    • status: open --> closed-fixed
     
MongoDB Logo MongoDB