]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/icon.cpp
fixed fl makefiles that Julian didn't fix correctly
[wxWidgets.git] / src / mac / carbon / icon.cpp
index 7bfb1d8309ea4b78af32a894770552e982546fd3..26cb83e93c2182f4317d757d7aa06d64f01e1b5f 100644 (file)
@@ -61,7 +61,7 @@ bool wxIcon::LoadFile(const wxString& filename, long type,
 
   m_refData = new wxBitmapRefData;
 
-  wxBitmapHandler *handler = FindHandler(type);
+  wxBitmapHandler *handler = FindHandler((wxBitmapType)type);
 
   if ( handler )
        return handler->LoadFile(this, filename, type, desiredWidth, desiredHeight);