Xcode command line utilities must be installed.
git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git cd wxWidgets git checkout v3.2.6 mkdir macbuild cd macbuild
cd wxWidgets git checkout master git pull git submodule update git checkout v3.2.6
../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=10.14 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl --disable-shared --enable-debug=no
Intel & M1/M2/M3 CPU
../configure --enable-unicode --with-osx_cocoa --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk --with-macosx-version-min=11.00 --enable-graphics_ctx --enable-monolithic --enable-compat28 --disable-mediactrl --disable-shared --enable-debug=no
make -j8 sudo make install