X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/425652451b54c6dd036428e755ce24e467a34671..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/motif/icon.cpp?ds=sidebyside diff --git a/src/motif/icon.cpp b/src/motif/icon.cpp index 96905576b3..a31a6f0646 100644 --- a/src/motif/icon.cpp +++ b/src/motif/icon.cpp @@ -61,6 +61,12 @@ wxIcon::wxIcon(const wxString& icon_file, long flags, LoadFile(icon_file, flags, desiredWidth, desiredHeight); } +void wxIcon::CopyFromBitmap(const wxBitmap& bmp) +{ + wxIcon *icon = (wxIcon*)(&bmp); + *this = *icon; +} + wxIcon::~wxIcon() { }