Once again i tried to get CodeBlocks running with wxWidgets 3.x and once again the results were pretty disappointing. The only positive thing is that CodeBlocks looks quite nicer with that wxWidgets version, but its still not usable. I don't know if anyone else is using CodeBlocks with wxWidgets 3.x or if im the only one with these issues, so im going to post my results here.
First my setup:
CodeBlocks SVN rev 10016
wxWidgets SVN rev 78078
TDM MinGW GCC 4.8.2 x32
Windows 7 SP1 x64
Because the wxWidgets version i used has already the version number 3.1 and the current
https://github.com/rjpcomputing/wxpack i used to build my wxWidgets snapshot uses versioned library folders i had to update all *_wx30 project files to use a matching version number and the correct paths for the libraries, i attached a patch of my changes.
Because of a recent change in wxPropgrid CodeBlocks doesn't compile, i did a quickhack to fix this, i attached a patch of that as well. Note, this patch does not compile under wxWidgets 2.8.
---
CodeBlocks and the Contrib Workspace compiles just fine and the compiled version starts without problems. The first thing i usually do is to turn off all that toolbars i dont need, for that i right click on the toolbar and that causes an assertion. This is because wxWindow::PopupMenu() must not use a menu that is already owned by someone else, in this case its owned by the menu bar, i attached my patch that fixes this by making a simple copy of that menu instead.
The second thing i noticed is that the bottom of all texts in the combo boxes in the toolbar is clipped, it looks like the wxToolBar now gives these custom controls the same height like the buttons so there is simply not enough room left, this can be fixed by turning on 22x22 toolbars. However that special control used for the occurences highlighting is still not tall enough.
After this, i start changing the settings to fit my needs and to setup my compiler. A habit from old days when CodeBlocks sometimes crashed is i always close it after i made a bunch of changes and start it again. I noticed that after some restarts the Search Menu and the DoxyBlocks Menu are broken like on the attached screenshots. The defect is more severe than you might notice at a first look, some entries are so wrong shifted they are actually the action of some other entry, e.g. the Load Template in the DoxyBlocks Menu actually is the Save Template entry. I could fix the Search Menu by disabling the Incremental Search plugin, but i dont know if this was just by accident or can be reproduced, i didnt test further.
Now the most annoying part, there seem to be a lot of refresh bugs in the text editor. At first i thought the ocurrences highlighting takes ages to highlight the occurences, but in fact they just didnt get drawn. If i scroll around they appear. I am also using the "Highlight line under caret" feature, if i click on some lines every line i click gets marked, scrolling clears some marks, some not. And during scrolling the text display gets totally corrupted, e.g. parts of old lines remain because the new line at that position is shorter and lots of other visual defects.
Occassionally (maybe related to the broken menus?) if i close CodeBlocks the window closes but a dormant codeblocks process remains that i have to kill with the process manager. One time i also got an assert about a missing event handler but i could not reproduce that.
Sadly in this state CodeBlocks is not usable with wxWidgets 3.1.