]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/icon.h
compilation fix
[wxWidgets.git] / include / wx / motif / icon.h
index 1f2fab60b99e669e0ef34bb4c55c20fab01f8a31..eea99e4055bdb32e8f7bca28b9c92dd40a3e0a88 100644 (file)
@@ -42,7 +42,7 @@ public:
 
     wxIcon(const wxIconLocation& loc)
     {
-        LoadFile(loc.GetFileName());
+        LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY);
     }
 
     ~wxIcon();