Codeblocks20.03调整字体格式报错及解决

Codeblocks20.03调整字体格式报错及解决:

wxWidgets Debug Alert
A debugging check in this application has failed.
…\include/wx/font.h(282): assert “numWeight > 0” failed in GetWeightClosestToNumericValue().
Codeblocks20.03调整字体格式报错及解决

参考解法:https://my.oschina.net/wwfifi/blog/4282989
简单但不明所以然的解法:别的都不做,只需将字体大小调大,调成整数,比如设置成12即可

Codeblocks20.03调整字体格式报错及解决