]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/bitmap.h
use iostream.h and not iostream with OpenWatcom (part of patch 910058)
[wxWidgets.git] / include / wx / cocoa / bitmap.h
index 053e85f29c81c28cd200d8b75c002e68678d4beb..47dc498d965ea7d2aae0a2698e5b5b42d2c4cbf7 100644 (file)
@@ -86,6 +86,9 @@ public:
     // Convert from wxImage:
     wxBitmap(const wxImage& image, int depth = -1)
     {   CreateFromImage(image, depth); }
+    // Convert from wxIcon
+    wxBitmap(const wxIcon& icon) { CopyFromIcon(icon); }
+
     // destructor
     ~wxBitmap();