Interesting, looks like array initializers are now treated like brace initializer, i guess they had no choice because of the same syntax.
Simple solution, dont use this ancient version of wxWidgets. It is almost 8 years old, current CodeBlocks revisions work well enough with wxWidgets 3.x. Maybe dont use the latest release, i think CodeBlocks has issues with that.