Use wxFileInputStream if wxFFileInputStream is not available.
Closes #11068. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,7 +156,11 @@ void wxIconBundle::AddIcon(const wxString& file, wxBitmapType type)
|
|||||||
}
|
}
|
||||||
#endif // __WXMAC__
|
#endif // __WXMAC__
|
||||||
|
|
||||||
|
#if wxUSE_FFILE
|
||||||
wxFFileInputStream stream(file);
|
wxFFileInputStream stream(file);
|
||||||
|
#elif wxUSE_FILE
|
||||||
|
wxFileInputStream stream(file);
|
||||||
|
#endif
|
||||||
DoAddIcon
|
DoAddIcon
|
||||||
(
|
(
|
||||||
*this,
|
*this,
|
||||||
|
Reference in New Issue
Block a user