Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
CodeBlocks 16.01 not working completely on Mac OS X
ridge:
Actually, I'm not sure that a call is failing. When I increase the width of the wxChoice object in compiler_toolbar_16x16.xrc, the toolbar extends accordingly. Also, when I move the wxChoice between the other "tools", it takes up the correct amount of space. So, the object is apparently "there" but just not visible.
UPDATE: I can replicate the behavior in my sample by calling wxChoice_instance->Show(false).
So, how could visibility get set to false?
ollydbg:
--- Quote from: ridge on January 23, 2017, 11:34:44 pm ---
It appears that there is a custom control ("wxToolBarAddOn") that, for some reason,
doesn't play nice with wxChoice on Mac OS X.
Ok, I'll take a look at the BuildToolBar method...
--- End quote ---
FYI:
This custom control does not works quite well under Windows with wx 3.1(trunk), see here: toolbar bottom edge is not shown corectly under C::B build with wx git master
ridge:
Thanks for the link ollydbg. Yes, I see that there are toolbar layout issues in Windows.
There are some layout issues in OS X, too, though not the same height issues as on Windows.
However, I notice (although only the top edge is showing in the link you provided) that the wxChoice items are visible.
I attached a screen shot for OS X in the original post, for reference. Note that the toolbars that are supposed to contain
wxChoice items are 3 - 8 pixels taller. I think this is a separate issue. On OS X, the wxChoice
items are not visible in the custom toolbars - but they are visible in other dialogs.
Navigation
[0] Message Index
[*] Previous page
Go to full version