Source Code Project Mantis - wxFRED
View Issue Details
0002926wxFREDpublic2013-09-28 17:532013-09-28 19:37
Assigned Toz64555 
PlatformPCOSWindowsOS VersionWin7
Summary0002926: Assert "m_proportion==0" when opening Mission Specs
DescriptionPretty much exactly that.. Assert "m_proportion==0" when you open the Mission Specs editor. You can close the assert and continue, though.
Steps To ReproduceOpen Mission Specs editor.
Additional Information..\..\src\common\sizer.cpp(381): assert "m_proportion==0" failed in wxSizerItem::InformFirstDirection(): Shaped item, non-zero proportion in wxSizerItem::InformFirstDirection()
TagsNo tags attached.
related to 0002925resolved z64555 Assert "Assert failure" when opening certain editors 
Attached Filespatch mantis_2926.patch (6,251) 2013-09-28 18:35

2013-09-28 18:37   
Patch added. Issue was due to an oversight in wxFormBuilder. It has a tendency to declare wxFlexGridSizers as having 2 rows and 2 columns, but allowing you to add as many rows and columns in editor without an error.
2013-09-28 19:18   
Tested and it works.
2013-09-28 19:33   
Fix committed to trunk@9855.

Issue History
2013-09-28 17:53MjnMixaelNew Issue
2013-09-28 17:53MjnMixaelStatusnew => assigned
2013-09-28 17:53MjnMixaelAssigned To => z64555
2013-09-28 18:35z64555File Added: mantis_2926.patch
2013-09-28 18:37z64555Note Added: 0015297
2013-09-28 18:37z64555Statusassigned => code review
2013-09-28 18:49z64555Relationship addedrelated to 0002925
2013-09-28 19:18MjnMixaelNote Added: 0015299
2013-09-28 19:33z64555Note Added: 0015302
2013-09-28 19:37z64555Statuscode review => resolved
2013-09-28 19:37z64555Resolutionopen => fixed