As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
lstTargets->SetMinSize(wxSize(width, 200)); DoTargetChange(false);"
Can someone post a screenshot from a windows machine with my patch and adding a Layout(); call after the linesCode lstTargets->SetMinSize(wxSize(width, 200)); DoTargetChange(false);"?
lstTargets->SetColumnWidth(0, wxLIST_AUTOSIZE);
Have you tried to debug cb and see what is the value of width?
Program received signal SIGSEGV, Segmentation fault.In _pthread_cleanup_dest () (E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_custom_build\src\devel\share\codeblocks\plugins\xpmanifest.dll)
Ok, but the width of the control on your screen shot is just 100. So the SetMinSize has no effect. Can you try to replace it with SetSize()? (I'm just guessing here)
This is close to the expected behaviour.Now, the question is why SetMinSize doesn't work on windows?
Quote from: oBFusCATed on July 07, 2014, 02:22:37 amThis is close to the expected behaviour.Now, the question is why SetMinSize doesn't work on windows?I added "Fit();" where you said to add Layout and it appears to be correct for wx 2.8 (It only cuts off one of the targets).Edit: Still about twice too wide using wx 3.0.0; might try 3.0.1 tomorrow.Tim S.