Rollback changes in BitmapCache

This commit is contained in:
YuSanka 2018-04-12 16:46:17 +02:00
parent 3bc7580e8c
commit d82505984a
2 changed files with 1 additions and 7 deletions

View file

@ -88,10 +88,7 @@ wxBitmap* BitmapCache::insert(const std::string &bitmap_key, std::vector<wxBitma
wxMemoryDC memDC;
memDC.SelectObject(*bitmap);
#ifdef __WXGTK__
#else
memDC.SetBackground(*wxTRANSPARENT_BRUSH);
#endif
memDC.Clear();
size_t x = 0;
for (wxBitmap &bmp : bmps) {