Ongoing thread about switching from wxWidgets 2.6.3 to wxWidgets 2.8.3, for the wxMac build.
Major items might eventually get up filed as proper bug reports, if they can be isolated enough.
First up is a problem with the toolbars:
wxWidgets 2.6:
(http://www.algonet.se/~afb/wx/cb-toolbars-wx26.png)
wxWidgets 2.8:
(http://www.algonet.se/~afb/wx/cb-toolbars-wx28.png)
That is, all the menus are missing...
Another one here.
After building and launching CB3912, I got a number of wxWidgets Alerts, as shown below.
The last one came up at CB quit.
How can this be tracked down?
Is it wxWidgets itself or CB calls to wxWidgets?
[attachment deleted by admin]
Quote from: bnilsson on May 01, 2007, 04:42:19 PM
After building and launching CB3912, I got a number of wxWidgets Alerts, as shown below.
Those alerts are normal when you run with wxWidgets compiled in debugging mode,
I've fixed the bitmap sizes and other stuff locally - using the patches from BerliOS.
You mean they are normal "flaws" in CB right? Shouldn't the program run completely clean with no debug mode assertions?
Quote from: Game_Ender on May 05, 2007, 04:26:12 PM
You mean they are normal "flaws" in CB right?
Yup.
QuoteShouldn't the program run completely clean with no debug mode assertions?
Probably ?
Makes mental note to develop against debug version of wxWidgets ;).
EDIT: Forgot "note"
Quote from: Game_Ender on May 08, 2007, 05:23:18 AM
Makes mental to develop against debug version of wxWidgets ;).
Yes, it can make you that way. :-)
Here is an error at startup:
../src/mac/carbon/toolbar.cpp(1218): assert "count == 3" failed in Realize(): Reference Count of native tool was not 3 after insertion
And there's also at shutdown:
../src/mac/carbon/toolbar.cpp(643): assert "IsValidControlHandle(viewRef)" failed in ControlToolbarItemHandler().
Each appears four times, so I think it's related to the four missing toolbar widgets.
This was with wxWidgets 2.8.4-rc1, since wxWidgets 2.8.4-rc2 doesn't even compile.
This wxWidgets bug seems related too: #1638728: Toolbar on a floating AUI pane (Mac) (http://sourceforge.net/tracker/index.php?func=detail&aid=1638728&group_id=9863&atid=109863)
Toolbar works OK in wxWidgets 2.8.4 when you set wxMAC_USE_NATIVE_TOOLBAR=0:
(http://www.algonet.se/~afb/wx/cb-toolbars-wx28-nonnative.png)
(never mind the gradients outside the toolbars, those are just a side-effect of UNO (http://gui.interacto.net/))
Also, maybe the large icons from 32x32 to 24x24 instead:
32x32: (current)
(http://www.algonet.se/~afb/wx/cb-toolbars-wx28-32x32.png)
24x24: (native)
(http://www.algonet.se/~afb/wx/cb-toolbars-wx28-24x24.png)
They look a little blurred, though, from the mandatory scaling.
16x16: (small)
(http://www.algonet.se/~afb/wx/cb-toolbars-wx28-16x16.png)