X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bbe427f8e5a2078b266e282453595b5a634d35c..b37023dca3a8627cee3fd26bf9cd9dae46e4a5b1:/src/gtk1/icon.cpp diff --git a/src/gtk1/icon.cpp b/src/gtk1/icon.cpp index a372cb9869..05c1089158 100644 --- a/src/gtk1/icon.cpp +++ b/src/gtk1/icon.cpp @@ -45,3 +45,8 @@ wxIcon& wxIcon::operator = ( const wxIcon& icon ) return *this; } +void wxIcon::CopyFromBitmap(const wxBitmap& bmp) +{ + wxIcon *icon = (wxIcon*)(&bmp); + *this = *icon; +}