ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap

This commit is contained in:
YuSanka 2021-07-23 11:54:15 +02:00
parent c9dffd0c89
commit 9154ebb165
2 changed files with 10 additions and 21 deletions

View file

@ -512,15 +512,12 @@ private:
ScalableBitmap bullet_black;
ScalableBitmap bullet_blue;
ScalableBitmap bullet_white;
wxStaticBitmap* logo;
std::vector<Item> items;
size_t item_active;
ssize_t item_hover;
size_t last_page;
int logo_height;
int item_height() const { return std::max(bullet_black.bmp().GetSize().GetHeight(), em_w) + em_w; }
void on_paint(wxPaintEvent &evt);