]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/icon.cpp
removed incorrect 'static' keyword from var declarations
[wxWidgets.git] / src / gtk / 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;
+}