main: add PNG handler.
This commit is contained in:
parent
76a4ac7dd3
commit
cf53be5037
1 changed files with 2 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -24,6 +24,8 @@ class MyApp: public wxApp {
|
||||||
SetAppName("wxMASSManager");
|
SetAppName("wxMASSManager");
|
||||||
SetAppDisplayName("wxMASSManager");
|
SetAppDisplayName("wxMASSManager");
|
||||||
|
|
||||||
|
wxImage::AddHandler(new wxPNGHandler);
|
||||||
|
|
||||||
EvtMainFrame* main_frame = new EvtMainFrame(nullptr);
|
EvtMainFrame* main_frame = new EvtMainFrame(nullptr);
|
||||||
|
|
||||||
if(!main_frame->ready()) {
|
if(!main_frame->ready()) {
|
||||||
|
|
Loading…
Reference in a new issue