cuticle/ui/main.cpp
mid 3993163d6d Start Windows compatibility
screen_capture_lite turned out to be pretty broken and so I brought back
my old X11 implementation for the Window node, for Unices only.
Hopefully SCL actually works on Windows because lemme tell you, I do not
want to go knee-deep in that.

Additionally, SAIL was replaced with stb_image because I couldn't get
SAIL to build under MinGW.
2025-10-12 11:23:49 +03:00

18 lines
249 B
C++

#include<wx/wx.h>
#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);