Fix crash in BoxSizerTestCase::IncompatibleFlags().
Reset the old window sizer pointer, otherwise it was deleted again in the window dtor (thanks buildbot for finding this one).
This commit is contained in:
@@ -416,8 +416,8 @@ void BoxSizerTestCase::IncompatibleFlags()
|
||||
|
||||
|
||||
// And now exactly the same thing in the other direction.
|
||||
delete m_sizer;
|
||||
m_sizer = new wxBoxSizer(wxVERTICAL);
|
||||
m_win->SetSizer(m_sizer);
|
||||
|
||||
ASSERT_SIZER_INVALID_FLAGS(
|
||||
wxALIGN_BOTTOM,
|
||||
|
Reference in New Issue
Block a user