X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ecb8b06ade47981aa828a3f7fb4278f822456d3..c8b751aa27764b6deb21e56f09c5403f230b0ce3:/src/motif/bitmap.cpp diff --git a/src/motif/bitmap.cpp b/src/motif/bitmap.cpp index dc6bb3bb82..4747f9ab1d 100644 --- a/src/motif/bitmap.cpp +++ b/src/motif/bitmap.cpp @@ -167,6 +167,12 @@ bool wxBitmap::CreateFromXpm(const char **bits) return Create(bits, wxBITMAP_TYPE_XPM_DATA, 0, 0, 0); } +bool wxBitmap::CopyFromIcon(const wxIcon& icon) +{ + *this = icon; + return TRUE; +} + bool wxBitmap::Create(int w, int h, int d) { UnRef();