mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-11 15:09:03 +08:00
gcc, pls
This commit is contained in:
parent
121dd66362
commit
a98dad496d
@ -88,8 +88,8 @@ void AboutDialogLogo::repaint(wxPaintEvent& event)
|
||||
dc.SetBackgroundMode(wxPENSTYLE_TRANSPARENT);
|
||||
|
||||
const wxSize size = this->GetSize() ;
|
||||
const auto logo_w {this->logo.GetWidth()};
|
||||
const auto logo_h {this->logo.GetHeight()};
|
||||
const auto logo_w = this->logo.GetWidth();
|
||||
const auto logo_h = this->logo.GetHeight();
|
||||
|
||||
dc.DrawBitmap(this->logo, (size.GetWidth() - logo_w) / 2, (size.GetHeight() - logo_h) / 2, 1);
|
||||
event.Skip();
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include <memory>
|
||||
#include <climits>
|
||||
|
||||
#include <wx/progdlg.h>
|
||||
#include <wx/window.h>
|
||||
#include <wx/numdlg.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user