#endif // wxUSE_PALETTE
wxArrayString m_optionNames;
wxArrayString m_optionValues;
+
+ DECLARE_NO_COPY_CLASS(wxImageRefData)
};
wxImageRefData::wxImageRefData()
{
#if wxUSE_STREAMS
wxFileInputStream stream(name);
- if (!stream.Ok())
- return 0;
- else
+ if (stream.Ok())
return GetImageCount(stream, type);
-#else
- return 0;
#endif
+
+ return 0;
}
#if wxUSE_STREAMS