X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e33cc297dd1c78f98a05afcc81d5653ca9133322..58cc15871d1a5ec5a6cc17f50be3e2006f57571f:/interface/wx/graphics.h diff --git a/interface/wx/graphics.h b/interface/wx/graphics.h index 086bf1e952..83627b2ef4 100644 --- a/interface/wx/graphics.h +++ b/interface/wx/graphics.h @@ -969,6 +969,13 @@ public: */ virtual wxGraphicsBitmap CreateBitmapFromImage(const wxImage& image) = 0; + /** + Creates a wxImage from a wxGraphicsBitmap. + + This method is used by the more convenient wxGraphicsBitmap::ConvertToImage. + */ + virtual wxImage CreateImageFromBitmap(const wxGraphicsBitmap& bmp) = 0; + /** Creates wxGraphicsBitmap from a native bitmap handle.