Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

Toolbar width problem with wxWidgets 3.1.4

(1/2) > >>

gd_on:
I am trying to test wxWidgets 3.1.4 (updated with git).
I have seen, some time ago, that some toolbars in CodeBlocks are too wide with this version but they were correct with 3.1.3 version.
It appeared very soon after the first releases of version 3.1.4 and hasn't changed since.
May be, there is something to tweak in C::B, but I have not found where it is.
See the effects on the 2 images.

gd_on

oBFusCATed:
Does any of View -> Toolbars -> Fit toolbars or optimize toolbars fixes this?
If not bisecting the offending commit in wxwidgets might be helpful.

gd_on:

--- Quote ---Does any of View -> Toolbars -> Fit toolbars or optimize toolbars fixes this?
--- End quote ---
No, it does not solve the problem.

--- Quote ---If not bisecting the offending commit in wxwidgets might be helpful.
--- End quote ---
The switch between versions 3.1.3 and 3.1.4 took place on 27/10/2019. So, it will not be easy, and surely take a long time to do that...
I tried tp search why some toolbars were correctly sized and some other were not ... but I have not found ...

gd_on

sodev:
I am observing the same behavior, it seems that only toolbars which contain a control, in both cases a combobox like one, are affected.

Miguel Gimenez:
Your commit is Prevent spurious debug error messages in wxMSW wxToolBar code

https://github.com/wxWidgets/wxWidgets/commit/6878a46725af106758fe166f1334978b89f4a564

EDIT: I have attached the old and new parts of the file. The problem is the toolIndex variable now is incremented only if the tool is not a control. This should be reported to wx devs.

EDIT2: Reported

Navigation

[0] Message Index

[#] Next page

Go to full version