This fixes a compilation problem introduced in 24970061fa (Add wxBitmap(wxImage, wxDC) ctor to all ports, 2022-04-12).
24970061fa