Correct previous commit to include wxWidgets 2.9.0 API change
Correct for Mac build error (FS#1202)