Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Papercuts :)
ollydbg:
--- Quote from: Kazade on June 29, 2009, 01:45:10 pm ---
--- Quote from: ollydbg on June 29, 2009, 01:34:48 pm ---wxLIST_AUTOSIZE should be used. :D
--- End quote ---
Thanks, I've added that suggestion to the bug report I created :D
When/if I have time, I'll try and fix some of these.
--- End quote ---
Hi, I found another reference "wxHeaderCtrl"
http://docs.wxwidgets.org/trunk/classwx_header_ctrl.html
--- Quote ---# EVT_HEADER_SEPARATOR_DCLICK(id, func):
Separator to the right of the specified column was double clicked (this action is commonly used to resize the column to fit its contents width and the control provides UpdateColumnWidthToFit() method to make implementing this easier).
--- End quote ---
It seems the header ctrl was part of wxListCtrl :D
Edit
Here is the discussion in our forum
http://forums.codeblocks.org/index.php/topic,8090.0.html
Kazade:
It's interesting that it's been commented out. Does anyone know why?
ollydbg:
--- Quote from: Kazade on June 29, 2009, 06:09:23 pm ---It's interesting that it's been commented out. Does anyone know why?
--- End quote ---
My explanation is that if every GCC Error or Warning would cause this function calling , it will slow down it's performance.
MY suggestion is: It will just be called in the *Last* log line output.
Edit:
I'm not sure you can debug codeblocks in Linux, Is it an issue in wxWidgets or codeblocks?
Edit2
Can you try a list control example in Linux?
http://docs.wxwidgets.org/trunk/page_samples.html#page_samples_listctrl
Kazade:
OK, I ran the example, and double clicking the separator does nothing. The log output just says:
09:55:15: OnColBeginDrag: column 1 (width = 0 or 37).
09:55:15: OnColDragging: column 1 (width = 0 or 37).
09:55:15: OnColEndDrag: column 1 (width = 0 or 37).
So I guess it's a wxWidgets thing. I think that after compilation completes (and anywhere else that outputs to the log in a batch), setColumnWidth(2, wxLIST_AUTOSIZE) should be called once to resize everything.
Does anyone else know of any other little bugs/annoyances? I thought if we get say 10-15 of them I'd try and get them all fixed.
oBFusCATed:
Delete key does not work in the project tree and in the watch window (I should fix them, but the laziness wins every time I think of doing it :( )
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version