X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b85b06e13d22e7fc1604ec1a49caa1227a1b3d36..1814b27e4540a6719b2839e657200a1cd1eedca9:/include/wx/iconbndl.h diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 3bc91fc596..a1082d710b 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -32,10 +32,10 @@ public: wxIconBundle(); // initializes the bundle with the icon(s) found in the file -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_IMAGE wxIconBundle(const wxString& file, wxBitmapType type = wxBITMAP_TYPE_ANY); wxIconBundle(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY); -#endif // wxUSE_STREAMS +#endif // wxUSE_STREAMS && wxUSE_IMAGE // initializes the bundle with a single icon wxIconBundle(const wxIcon& icon); @@ -45,10 +45,10 @@ public: // adds all the icons contained in the file to the collection, // if the collection already contains icons with the same // width and height, they are replaced -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_IMAGE void AddIcon(const wxString& file, wxBitmapType type = wxBITMAP_TYPE_ANY); void AddIcon(wxInputStream& stream, wxBitmapType type = wxBITMAP_TYPE_ANY); -#endif // wxUSE_STREAMS +#endif // wxUSE_STREAMS && wxUSE_IMAGE // adds the icon to the collection, if the collection already // contains an icon with the same width and height, it is