mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-03-23 18:54:01 +08:00
In all ports implementing creating wxCursor from wxImage the code for creating it from wxBitmap was already there, so just factor it out to allow using it directly, to avoid a conversion to and from wxImage when we already have a wxBitmap. For the other ports (wxX11 and wxDFB), leave this ctor unimplemented, just as it was already the case for the one taking wxImage.