]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/icon.h
load any files, not only XPMs, in wxIcon(wxIconLocation)
[wxWidgets.git] / include / wx / gtk1 / icon.h
index 10bb5b12a27bcbd7690ec3a9599b7c9c1152b1e3..93dd3b354b1bef77f113c6130df9adfc239fd42b 100644 (file)
@@ -46,7 +46,7 @@ public:
     wxIcon( char **bits, int width=-1, int height=-1 );
 
     wxIcon(const wxIconLocation& loc)
     wxIcon( char **bits, int width=-1, int height=-1 );
 
     wxIcon(const wxIconLocation& loc)
-        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_XPM)
+        : wxBitmap(loc.GetFileName(), wxBITMAP_TYPE_ANY)
     {
     }
 
     {
     }