Files
wxWidgets/include/wx
Vadim Zeitlin f6b4acf283 Change wxSizer::Detach(wxWindow*) to take wxWindowBase* instead
This function is called from wxWindowBase dtor to detach the window
being destroyed from the containing sizer and casting the pointer to the
object to wxWindow is UB because the object is not actually a wxWindow
any more by then.

Remove the cast and pass wxWindowBase pointer to wxSizer::Detach()
instead, as it doesn't need the full wxWindow anyhow.

Also document that any wxSizer-derived classes overriding Detach() will
need to be modified to follow this change.
2024-10-21 21:23:07 +02:00
..
2024-10-19 16:27:39 +02:00
2024-10-19 16:27:39 +02:00
2024-09-20 17:43:44 +02:00
2023-05-08 22:47:04 +01:00
2024-01-28 18:16:07 +01:00
2024-09-20 17:50:03 +02:00
2024-02-13 16:12:56 +01:00
2023-03-22 18:35:45 +01:00
2024-09-15 18:59:30 +02:00