diff options
Diffstat (limited to 'wx+/image_resources.cpp')
-rw-r--r-- | wx+/image_resources.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wx+/image_resources.cpp b/wx+/image_resources.cpp index 6da12c17..7b74c161 100644 --- a/wx+/image_resources.cpp +++ b/wx+/image_resources.cpp @@ -62,6 +62,8 @@ private: void GlobalResources::init(const Zstring& filename) { + assert(bitmaps.empty() && anims.empty()); + wxFFileInputStream input(utfCvrtTo<wxString>(filename)); if (input.IsOk()) //if not... we don't want to react too harsh here { |