wxMahjong/App.cpp
2022-05-28 19:00:02 +03:00

15 lines
243 B
C++

#include "App.h"
#include "MainFrame.h"
wxIMPLEMENT_APP(MyApp);
bool MyApp::OnInit() {
wxImage::AddHandler(new wxPNGHandler());
MainFrame* frame = new MainFrame();
frame->Show(true);
SetTopWindow(frame);
return true;
}