]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/icon.cpp
Missing LINKAGEMODE on static declaration (for OS/2).
[wxWidgets.git] / src / gtk1 / icon.cpp
index a372cb986937e65e06db475ee2835faae3b52271..05c1089158624aafc3057a570c22c04204fc849b 100644 (file)
@@ -45,3 +45,8 @@ wxIcon& wxIcon::operator = ( const wxIcon& icon )
     return *this;
 }
 
+void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
+{
+    wxIcon *icon = (wxIcon*)(&bmp);
+    *this = *icon;
+}