I have gotten Code::Blocks core project to build with minor edits.
https://github.com/stahta01/codeblocks_sfmirror/tree/wxMSW-msys2 (https://github.com/stahta01/codeblocks_sfmirror/tree/wxMSW-msys2)
Edit: The above repo was just to test the MINGW-packages below!!!!!!!!!!!!!
I likely did a few edits that was not needed.
I did it to test this wxWidgets 3.2.0 package.
https://github.com/msys2/MINGW-packages/pull/12224 (https://github.com/msys2/MINGW-packages/pull/12224)
Code::Blocks IDE was the only large app I know would compile with wxGTK/Win with only minor edits.
Edit: Other that looking about about box I did no testing
Name : Code::Blocks
Version : svn-r12852
SDK Version : 2.19.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : https://www.codeblocks.org
OS : Windows 10 (build 19044), 64-bit edition
Scaling factor : 1.000000
Detected scaling factor : 1.250000
Display PPI : 120x120
Display count : 2
Display 0 (\\.\DISPLAY1): XY=[1600,0]; Size=[1700,960];
Display 1 (\\.\DISPLAY2): XY=[0,0]; Size=[1280,1024]; Primary
wxWidgets Library (wxGTK port)
Version 3.2.0 (Unicode: wchar_t, debug level: 1),
compiled at Jul 28 2022 04:54:56
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.34.
Edit2: Ran into wxGetKeyState() issues; very fast. So, the CB built with wxGTK/Win is not very usable till that is fixed.
Tim S.