#include #include"frame.h" Frame *globaldis; struct App : wxApp { virtual bool OnInit() { #if wxCHECK_VERSION(3, 3, 0) SetAppearance(Appearance::System); #endif (new Frame())->Show(true); return true; } }; wxIMPLEMENT_APP(App);