diff options
Diffstat (limited to 'wx+/image_resources.cpp')
-rw-r--r-- | wx+/image_resources.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/wx+/image_resources.cpp b/wx+/image_resources.cpp index 4ba62bb9..7c6de43f 100644 --- a/wx+/image_resources.cpp +++ b/wx+/image_resources.cpp @@ -50,18 +50,18 @@ public: } void init(const Zstring& filepath); - void cleanup() - { - bitmaps.clear(); - anims.clear(); - } + void cleanup() + { + bitmaps.clear(); + anims.clear(); + } const wxBitmap& getImage (const wxString& name) const; const wxAnimation& getAnimation(const wxString& name) const; private: GlobalResources() {} - ~GlobalResources() { assert(bitmaps.empty() && anims.empty()); } //don't leave wxWidgets objects for static destruction! + ~GlobalResources() { assert(bitmaps.empty() && anims.empty()); } //don't leave wxWidgets objects for static destruction! GlobalResources (const GlobalResources&) = delete; GlobalResources& operator=(const GlobalResources&) = delete; |