X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ecb8b06ade47981aa828a3f7fb4278f822456d3..f90566f5c386e6e5d80deecad9052ec53a0394ba:/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();