git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62890
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#if wxUSE_STREAMS && wxUSE_IMAGE
wxIconBundle::wxIconBundle(const wxString& file, wxBitmapType type)
: wxGDIObject()
{
wxIconBundle::wxIconBundle(const wxString& file, wxBitmapType type)
: wxGDIObject()
{
{
AddIcon(stream, type);
}
{
AddIcon(stream, type);
}
+#endif // wxUSE_STREAMS && wxUSE_IMAGE
wxIconBundle::wxIconBundle(const wxIcon& icon)
: wxGDIObject()
wxIconBundle::wxIconBundle(const wxIcon& icon)
: wxGDIObject()
+#if wxUSE_STREAMS && wxUSE_IMAGE
DoAddIcon(*this, stream, type, _("Failed to load image %d from stream."));
}
DoAddIcon(*this, stream, type, _("Failed to load image %d from stream."));
}
+#endif // wxUSE_STREAMS && wxUSE_IMAGE
wxIcon wxIconBundle::GetIcon(const wxSize& size) const
{
wxIcon wxIconBundle::GetIcon(const wxSize& size) const
{