main: add PNG handler.

This commit is contained in:
Guillaume Jacquemin 2020-06-14 22:52:17 +02:00
parent 76a4ac7dd3
commit cf53be5037
1 changed files with 2 additions and 0 deletions

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()) {