X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7f171ed4d084ef08dffa1b7d51cf9350e6b4570..68893d580363f62c7579cade2d9ee8f954eaf309:/src/common/iconbndl.cpp diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 4958538025..8c97c318c9 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -57,7 +57,7 @@ wxIconBundle::wxIconBundle() { } -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_IMAGE wxIconBundle::wxIconBundle(const wxString& file, wxBitmapType type) : wxGDIObject() { @@ -69,7 +69,7 @@ wxIconBundle::wxIconBundle(wxInputStream& stream, wxBitmapType type) { AddIcon(stream, type); } -#endif // wxUSE_STREAMS +#endif // wxUSE_STREAMS && wxUSE_IMAGE wxIconBundle::wxIconBundle(const wxIcon& icon) : wxGDIObject() @@ -92,7 +92,7 @@ void wxIconBundle::DeleteIcons() UnRef(); } -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_IMAGE namespace { @@ -174,7 +174,7 @@ void wxIconBundle::AddIcon(wxInputStream& stream, wxBitmapType type) DoAddIcon(*this, stream, type, _("Failed to load image %d from stream.")); } -#endif // wxUSE_STREAMS +#endif // wxUSE_STREAMS && wxUSE_IMAGE wxIcon wxIconBundle::GetIcon(const wxSize& size) const {