Source Code Project Mantis - wxFRED
View Issue Details
0002925wxFREDpublic2013-09-28 17:512013-09-28 19:25
ReporterMjnMixael 
Assigned Toz64555 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformPCOSWindowsOS VersionWin7
Summary0002925: Assert "Assert failure" when opening certain editors
DescriptionAssert "Assert failure" when opening...

Mission Objectives
Background

Does not crash wxFRED, but OK and Cancel no longer work on these windows.
Steps To ReproduceSimply open the editors listed above.
Additional Information..\..\src\common\sizer.cpp(1402): assert "Assert failure" failed in wxGridSizer::DoInsert(): too many items (5 > 2*2) in grid sizer (maybe you should omit the number of either rows or columns?)
TagsNo tags attached.
related to 0002926resolved z64555 Assert "m_proportion==0" when opening Mission Specs 
Attached Filespatch mantis_2925.patch (9,415) 2013-09-28 18:46
http://scp.indiegames.us/mantis/file_download.php?file_id=2268&type=bug

Notes
(0015298)
z64555   
2013-09-28 18:48   
Patch uploaded. As with 2926, wxFormBuilder has a habit of declaring wxFlexGridSizers with a default value of 2 rows and 2 columns, but doesn't catch the error when you add more items to it in the editor.
(0015300)
MjnMixael   
2013-09-28 19:18   
Tested and it works.
(0015301)
z64555   
2013-09-28 19:25   
Fix committed to trunk@9855.

Issue History
2013-09-28 17:51MjnMixaelNew Issue
2013-09-28 17:51MjnMixaelStatusnew => assigned
2013-09-28 17:51MjnMixaelAssigned To => z64555
2013-09-28 18:46z64555File Added: mantis_2925.patch
2013-09-28 18:48z64555Note Added: 0015298
2013-09-28 18:48z64555Statusassigned => code review
2013-09-28 18:49z64555Relationship addedrelated to 0002926
2013-09-28 19:18MjnMixaelNote Added: 0015300
2013-09-28 19:25z64555Changeset attached => fs2open trunk r9855
2013-09-28 19:25z64555Note Added: 0015301
2013-09-28 19:25z64555Statuscode review => resolved
2013-09-28 19:25z64555Resolutionopen => fixed