Revision r13541 (https://sourceforge.net/p/codeblocks/code/13541/) added some wx3.2 font styles that are not present in wx3.0, but we still support 3.0 (at least on Linux). These values must be guarded with wxCHECK_VERSION(3, 1, 2) in wxssimplefonteditordlg.cpp:
wxFONTWEIGHT_THIN
wxFONTWEIGHT_EXTRALIGHT
wxFONTWEIGHT_MEDIUM
wxFONTWEIGHT_SEMIBOLD
wxFONTWEIGHT_EXTRABOLD
wxFONTWEIGHT_HEAVY
wxFONTWEIGHT_EXTRAHEAVY
wxFONTWEIGHT_INVALID
Maybe Morten will do this? :)
Proposed patch attached
Is there not a CI build that runs for Windows and Linux on any merge like bigger projects do? This would have detected this issue.
Another thing with big dev teams there is peer revies of code changes before they are merged into the trunk. Does this occur with CB? This may have picked it up depending on the reviewers skills.
Sourceforge does not have these utilities, or at least I do not know about them. Peer reviewing is done sometimes for complex changes.
Patch applied in r13542 (https://sourceforge.net/p/codeblocks/code/13542/).