X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c54e4ae1f401a9c337b97b588e5a356d79cbe82..daf6ac9f8a12c845e3d5af38c4a262e7d9e4686f:/include/wx/cocoa/bitmap.h?ds=inline diff --git a/include/wx/cocoa/bitmap.h b/include/wx/cocoa/bitmap.h index 053e85f29c..47dc498d96 100644 --- a/include/wx/cocoa/bitmap.h +++ b/include/wx/cocoa/bitmap.h @@ -86,6 +86,9 @@ public: // Convert from wxImage: wxBitmap(const wxImage& image, int depth = -1) { CreateFromImage(image, depth); } + // Convert from wxIcon + wxBitmap(const wxIcon& icon) { CopyFromIcon(icon); } + // destructor ~wxBitmap();