FindwxWidgets: Support more wxWidgets versions, including 3.2

Backport !7374 (merged) for the 3.24 release branch.

Update the example to use a more recent wxWidgets version.

Use a list with known version numbers when searching for installation directories and wx-config names.

Issue: #21544 (closed)
Backport: release

Merge request reports

Loading