]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/icon.h
split wxBase into wxBase and wxNet libraries
[wxWidgets.git] / include / wx / mgl / icon.h
index a555b7055237666b9fcaaab11205040d8001c2de..e79f001ae235b8f59984e4e819915039cdf9216a 100644 (file)
@@ -44,7 +44,7 @@ public:
            wxBitmap(filename, (wxBitmapType)type) {}
 
     wxIcon(const wxIconLocation& loc)
-        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ICO)
+        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY)
     {
     }