]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/iconbndl.cpp
Added function and member function pointers in wxAnyValueBuffer to make memory alignm...
[wxWidgets.git] / src / common / iconbndl.cpp
index 5d509c0158a9c918d957b19a972e34a8405ccbbc..49585380250d5d3826b6917cdc8f4029f1a88aa3 100644 (file)
@@ -156,7 +156,11 @@ void wxIconBundle::AddIcon(const wxString& file, wxBitmapType type)
     }
 #endif // __WXMAC__
 
+#if wxUSE_FFILE
     wxFFileInputStream stream(file);
+#elif wxUSE_FILE
+    wxFileInputStream stream(file);
+#endif
     DoAddIcon
     (
         *this,