X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/425652451b54c6dd036428e755ce24e467a34671..19e30148e18cc99296b26503c155e5cef59045f4:/src/motif/icon.cpp 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() { }