This commit is contained in:
Joseph Lenox 2018-05-13 22:10:43 -05:00
parent 121dd66362
commit a98dad496d
2 changed files with 4 additions and 2 deletions

View File

@ -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();

View File

@ -1,4 +1,6 @@
#include <memory>
#include <climits>
#include <wx/progdlg.h>
#include <wx/window.h>
#include <wx/numdlg.h>