I use 'OpenSuse::Leap-15.4' which provides 'wx-3.2.1' and 'gtk-3'
But the project files for 'Linux' are missing for 'wx-3.1.x' and 'wx-3.2.x'.
I had provided a fix with the ticket
https://sourceforge.net/p/codeblocks/tickets/1349/, but it should be checked.