mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
ConfigWizard: Draw logo inside OnPaint instead of use of wxStaticBitmap
This commit is contained in:
parent
c9dffd0c89
commit
9154ebb165
2 changed files with 10 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue