This is caused by #543, you must have clicked on the forward_declare subproperty of the subclass property of the two affected controls once and now the wxFB project file contains broken data. There is ...
This is a wxWidgets Python template project using wxFormBuilder. For the "C++ version", visit this repository. This section assumes Ubuntu 18.04 (also tested on Ubuntu 20.04), but the procedure is ...