
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.
18 lines
249 B
C++
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);
|