main: add PNG handler.

This commit is contained in:
Guillaume Jacquemin 2020-06-14 22:52:17 +02:00
parent 76a4ac7dd3
commit cf53be5037

View file

@ -24,6 +24,8 @@ class MyApp: public wxApp {
SetAppName("wxMASSManager");
SetAppDisplayName("wxMASSManager");
wxImage::AddHandler(new wxPNGHandler);
EvtMainFrame* main_frame = new EvtMainFrame(nullptr);
if(!main_frame->ready()) {